Add invite route

This commit is contained in:
Alex Holliday committed 2024-07-19 11:11:59 -07:00
1 parent 5889e37bbd
commit 4e56db368f
2 files changed
+8

No files matched your search

+5
View File
@@ -214,6 +214,10 @@ const userEditController = async (req, res, next) => {
}
};
const inviteController = async (req, res) => {
return res.status(200).json({ success: true, msg: "Invite sent" });
};
/**
* Checks to see if an admin account exists
* @async
@@ -404,6 +408,7 @@ module.exports = {
registerController,
loginController,
userEditController,
inviteController,
checkAdminController,
recoveryRequestController,
validateRecoveryTokenController,