adding tracks

This commit is contained in:
2025-03-21 19:21:35 -05:00
parent 70fde43801
commit 485671f163
24 changed files with 731 additions and 302 deletions

View File

@@ -6,6 +6,7 @@ export class LogInterceptor implements NestInterceptor {
const req = context.switchToHttp().getRequest();
const authHeader = req.headers.authorization;
const token = authHeader && authHeader.split(' ')[1];
console.log(token)
if (!token) {
return handler.handle().pipe(
@@ -22,6 +23,7 @@ export class LogInterceptor implements NestInterceptor {
routeFrom: log.routeFrom,
routeTo: log.routeTo,
durationOfFlight: log.durationOfFlight,
tracks: log.tracks,
notes: log.notes
};
});