Add token expired msg

This commit is contained in:
Alex Holliday committed 2024-10-07 13:54:00 +08:00
1 parent ef4bfec3f2
commit 4a3636789e
2 files changed
+8 -1

No files matched your search

+3 -1
View File
@@ -12,6 +12,7 @@ const errorMessages = {
UNKNOWN_SERVICE: "Unknown service",
NO_AUTH_TOKEN: "No auth token provided",
INVALID_AUTH_TOKEN: "Invalid auth token",
EXPIRED_AUTH_TOKEN: "Token expired",
//Ownership Middleware
VERIFY_OWNER_NOT_FOUND: "Document not found",
@@ -93,7 +94,8 @@ const successMessages = {
//Maintenance Window Controller
MAINTENANCE_WINDOW_CREATE: "Maintenance Window created successfully",
MAINTENANCE_WINDOW_GET_BY_USER: "Got Maintenance Windows by User successfully",
MAINTENANCE_WINDOW_GET_BY_USER:
"Got Maintenance Windows by User successfully",
//Ping Operations
PING_SUCCESS: "Success",