removed the console.log that was polluting the log

This commit is contained in:
Clément Le Bihan
2023-12-04 23:06:14 +01:00
parent 61ebf58631
commit dc0c7fa4e7
2 changed files with 0 additions and 3 deletions

View File

@@ -10,12 +10,10 @@ export class JwtAuthGuard extends AuthGuard("jwt") {
}
canActivate(context: ExecutionContext) {
console.log(context);
const isPublic = this.reflector.getAllAndOverride<boolean>(IS_PUBLIC_KEY, [
context.getHandler(),
context.getClass(),
]);
console.log(isPublic);
if (isPublic) {
return true;
}

View File

@@ -38,7 +38,6 @@ import { Song as _Song } from "src/_gen/prisma-class/song";
import { SongHistory } from "src/_gen/prisma-class/song_history";
import { IncludeMap, mapInclude } from "src/utils/include";
import { Public } from "src/auth/public";
import { AuthGuard } from "@nestjs/passport";
import { ChromaAuthGuard } from "src/auth/chroma-auth.guard";
class SongHistoryResult {
@ApiProperty()