Add check for admin acount
This commit is contained in:
1 parent
7462458eca
commit
b0cbea156c
2 files changed
+16
No files matched your search
@@ -4,6 +4,7 @@ const errorMessages = {
|
||||
UNKNOWN_ERROR: "An unknown error occurred",
|
||||
// Auth Controller
|
||||
UNAUTHORIZED: "Unauthorized access",
|
||||
AUTH_ADMIN_EXISTS: "Admin already exists",
|
||||
|
||||
//Error handling middleware
|
||||
UNKNOWN_SERVICE: "Unknown service",
|
||||
|
||||
Reference in new issue
Block a user