use response middleware in InviteController

This commit is contained in:
Alex Holliday committed 2025-01-19 09:59:13 -08:00
1 parent 0aaeeef113
commit e5f8d88c5a
2 files changed
+15 -5

No files matched your search

+5
View File
@@ -73,6 +73,7 @@ const successMessages = {
ALERT_EDIT: "Alert edited successfully",
ALERT_DELETE: "Alert deleted successfully",
// Auth Controller
AUTH_CREATE_USER: "User created successfully",
AUTH_LOGIN_USER: "User logged in successfully",
AUTH_LOGOUT_USER: "User logged out successfully",
@@ -85,6 +86,10 @@ const successMessages = {
AUTH_TOKEN_REFRESHED: "Auth token is refreshed",
AUTH_GET_ALL_USERS: "Got all users successfully",
// Invite Controller
INVITE_ISSUED: "Invite sent successfully",
INVITE_VERIFIED: "Invite verified successfully",
// Check Controller
CHECK_CREATE: "Check created successfully",
CHECK_GET: "Got checks successfully",