Feature/6 pilots delete (#42)

* adding pilot delete

* adding pilot delete

* adding pilot delete
This commit was merged in pull request #42.
This commit is contained in:
2025-02-19 00:16:05 +00:00
committed by GitHub
parent b9629ee4e9
commit c19b8aa855
24 changed files with 220 additions and 450 deletions

View File

@@ -13,11 +13,10 @@ import { LogDto } from './log.dto';
import { Log } from './log.entity';
import { LogService } from './log.service';
import { CustomError } from '../error/customError';
import { AuthGuard } from '@nestjs/passport';
import { Public } from '@noahspan/noahspan-modules';
@Controller('logs')
@UseGuards(AuthGuard('azure-ad'))
export class LogController {
constructor(private readonly logService: LogService) {}
@@ -35,7 +34,7 @@ export class LogController {
}
}
// @Public()
@Public()
@Get()
async findAll(): Promise<Log[]> {
try {