Merge pull request #406 from bluewave-labs/feat/invite-email

Issue invite token and send invitation email on invite request, resolves #393
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-07-22 09:49:45 -07:00
commit 064e75f862
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`);
}