Run lint fix

This commit is contained in:
Tuan Dang
2024-02-09 08:44:30 -08:00
parent fdbf59cd78
commit 5878a221f8
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export const validateProviderAuthToken = (providerToken: string, email: string)
if (decodedToken.authTokenType !== AuthTokenType.PROVIDER_TOKEN) throw new UnauthorizedError();
if (decodedToken.email !== email) throw new Error("Invalid auth credentials");
if (decodedToken.organizationId) {
return { orgId: decodedToken.organizationId };
}