update order and fix approve center

This commit is contained in:
2024-10-27 18:00:26 +07:00
parent 71971d7ae4
commit a5e9ad5ac1
4 changed files with 51 additions and 15 deletions

View File

@@ -20,9 +20,6 @@ export class GraphqlService {
}
throw new UnauthorizedException('Must provide a session ID');
}
if (!sessionId) {
throw new UnauthorizedException('Session ID is required');
}
// check if the token is valid
const session = await clerkClient.sessions.getSession(sessionId as string);
if (!session) {