team join with link and member admin

This commit is contained in:
Michael Dausmann
2023-04-09 00:41:46 +10:00
parent b4b20e4260
commit 4d288c7468
15 changed files with 238 additions and 34 deletions

View File

@@ -22,13 +22,6 @@ export async function createContext(event: H3Event){
}
}
if(!user || !dbUser) {
throw new TRPCError({
code: 'UNAUTHORIZED',
message: `Unable to fetch user data at this time. Missing ->[user:${(!user)},dbUser:${(!dbUser)}]`,
});
}
return {
user,
dbUser,