Issue invite token and send invitation email on invite request

This commit is contained in:
Alex Holliday committed 2024-07-21 20:35:23 -07:00
1 parent f1334d1c5e
commit 610d9228da
4 files changed
+32 -3

No files matched your search

-1
View File
@@ -5,7 +5,6 @@ const joi = require("joi");
//****************************************
const roleValidatior = (role) => (value, helpers) => {
console.log(role);
if (!value.includes(role)) {
throw new joi.ValidationError(`You do not have ${role} authorization`);
}