invite bug

This commit is contained in:
Rotimi Best
2023-09-17 03:08:43 +01:00
parent 04087716da
commit a56363fa49
3 changed files with 3 additions and 5 deletions
-1
View File
@@ -24,7 +24,6 @@ export async function POST({ request }) {
console.error(error);
}
console.log('user', user);
if (!user) {
return json({ success: false, message: 'Unauthenticated user' }, { status: 401 });
}