Ajout endpoint géolocalisation

This commit is contained in:
2024-12-07 15:11:47 +01:00
parent 1ae6b6634c
commit 86427bb41b
13 changed files with 240 additions and 21 deletions

View File

@ -1,5 +1,9 @@
import { Injectable } from '@nestjs/common'
import { AuthGuard } from '@nestjs/passport'
import { User } from '@prisma/client'
import { Request } from 'express'
@Injectable()
export class JwtAuthGuard extends AuthGuard('jwt') {}
export type AuthenticatedRequest = Request & { user: User }