Add several endpoints

This commit is contained in:
Alex Holliday committed 2024-08-18 12:20:28 -07:00
1 parent 5beb0684a7
commit f78e5ca94c
5 files changed
+29 -9

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ const withAdminCheck = (WrappedComponent) => {
useEffect(() => {
axiosInstance
.get("/auth/users/admin")
.doesAdminExist()
.then((response) => {
if (response.data.data === true) {
navigate("/login");