From 708352be65800a09ec552cc56e1adab226160405 Mon Sep 17 00:00:00 2001 From: Tetardtek Date: Tue, 24 Mar 2026 15:08:10 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20api/=20prefix=20from=20Sprint?= =?UTF-8?q?=204=20controllers=20=E2=80=94=20global=20prefix=20already=20se?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/achievement/achievement.controller.ts | 2 +- src/community/community.controller.ts | 2 +- src/halloffame/halloffame.controller.ts | 2 +- src/profile/profile.controller.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/achievement/achievement.controller.ts b/src/achievement/achievement.controller.ts index 606e306..dec6546 100644 --- a/src/achievement/achievement.controller.ts +++ b/src/achievement/achievement.controller.ts @@ -7,7 +7,7 @@ import { Repository } from 'typeorm'; import { Character } from '../character/entities/character.entity'; import { BadRequestException } from '@nestjs/common'; -@Controller('api/achievements') +@Controller('achievements') export class AchievementController { constructor( private readonly achievementService: AchievementService, diff --git a/src/community/community.controller.ts b/src/community/community.controller.ts index 4da2758..c04024f 100644 --- a/src/community/community.controller.ts +++ b/src/community/community.controller.ts @@ -1,7 +1,7 @@ import { Controller, Get, Param } from '@nestjs/common'; import { CommunityService } from './community.service'; -@Controller('api/community') +@Controller('community') export class CommunityController { constructor(private readonly communityService: CommunityService) {} diff --git a/src/halloffame/halloffame.controller.ts b/src/halloffame/halloffame.controller.ts index 639ec41..dce107b 100644 --- a/src/halloffame/halloffame.controller.ts +++ b/src/halloffame/halloffame.controller.ts @@ -1,7 +1,7 @@ import { Controller, Get, Param } from '@nestjs/common'; import { HallOfFameService } from './halloffame.service'; -@Controller('api/halloffame') +@Controller('halloffame') export class HallOfFameController { constructor(private readonly hallOfFameService: HallOfFameService) {} diff --git a/src/profile/profile.controller.ts b/src/profile/profile.controller.ts index 37dcd0f..c42efa5 100644 --- a/src/profile/profile.controller.ts +++ b/src/profile/profile.controller.ts @@ -6,7 +6,7 @@ import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { Character } from '../character/entities/character.entity'; -@Controller('api/profile') +@Controller('profile') export class ProfileController { constructor( private readonly profileService: ProfileService,