fix: NpcController prefix — remove duplicate /api
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 36s
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 36s
This commit is contained in:
@@ -2,7 +2,7 @@ import { Controller, Get, Query, Req, UseGuards } from '@nestjs/common';
|
||||
import { NpcService } from './npc.service';
|
||||
import { AuthGuard } from '../auth/guards/auth.guard';
|
||||
|
||||
@Controller('api/npcs')
|
||||
@Controller('npcs')
|
||||
@UseGuards(AuthGuard)
|
||||
export class NpcController {
|
||||
constructor(private readonly npcService: NpcService) {}
|
||||
|
||||
Reference in New Issue
Block a user