Umstellung auf firebase

This commit is contained in:
2025-02-20 17:51:54 -06:00
parent f6d1b8623c
commit 521e799bff
40 changed files with 495 additions and 261 deletions

View File

@@ -1,7 +1,7 @@
import { Controller, Get, Request, UseGuards } from '@nestjs/common';
import { AppService } from './app.service';
import { AuthService } from './auth/auth.service';
import { JwtAuthGuard } from './jwt-auth/jwt-auth.guard';
import { AuthGuard } from './jwt-auth/auth.guard';
@Controller()
export class AppController {
@@ -10,7 +10,7 @@ export class AppController {
private authService: AuthService,
) {}
@UseGuards(JwtAuthGuard)
@UseGuards(AuthGuard)
@Get()
getHello(@Request() req): string {
return req.user;