adding api unit tests (#108)

* adding api unit tests

* adding not signed in alerts to flights and logs
This commit was merged in pull request #108.
This commit is contained in:
2026-03-08 14:58:24 -05:00
committed by GitHub
parent b7e74242b8
commit 487afb08d6
40 changed files with 1621 additions and 182 deletions

View File

@@ -50,9 +50,8 @@ export class PilotController {
@Post()
@UseGuards(AuthGuard)
async create(@Body() pilotDto: PilotDto) {
async create(@Body() pilotDto: PilotDto): Promise<PilotDto> {
try {
return await this.pilotService.create(pilotDto);
} catch (error) {
const customError = error as CustomError;