fix: remove api/ prefix from Sprint 4 controllers — global prefix already set
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 33s

This commit is contained in:
2026-03-24 15:08:10 +01:00
parent ac88cbb5ab
commit 708352be65
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import { Repository } from 'typeorm';
import { Character } from '../character/entities/character.entity'; import { Character } from '../character/entities/character.entity';
import { BadRequestException } from '@nestjs/common'; import { BadRequestException } from '@nestjs/common';
@Controller('api/achievements') @Controller('achievements')
export class AchievementController { export class AchievementController {
constructor( constructor(
private readonly achievementService: AchievementService, private readonly achievementService: AchievementService,

View File

@@ -1,7 +1,7 @@
import { Controller, Get, Param } from '@nestjs/common'; import { Controller, Get, Param } from '@nestjs/common';
import { CommunityService } from './community.service'; import { CommunityService } from './community.service';
@Controller('api/community') @Controller('community')
export class CommunityController { export class CommunityController {
constructor(private readonly communityService: CommunityService) {} constructor(private readonly communityService: CommunityService) {}

View File

@@ -1,7 +1,7 @@
import { Controller, Get, Param } from '@nestjs/common'; import { Controller, Get, Param } from '@nestjs/common';
import { HallOfFameService } from './halloffame.service'; import { HallOfFameService } from './halloffame.service';
@Controller('api/halloffame') @Controller('halloffame')
export class HallOfFameController { export class HallOfFameController {
constructor(private readonly hallOfFameService: HallOfFameService) {} constructor(private readonly hallOfFameService: HallOfFameService) {}

View File

@@ -6,7 +6,7 @@ import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm'; import { Repository } from 'typeorm';
import { Character } from '../character/entities/character.entity'; import { Character } from '../character/entities/character.entity';
@Controller('api/profile') @Controller('profile')
export class ProfileController { export class ProfileController {
constructor( constructor(
private readonly profileService: ProfileService, private readonly profileService: ProfileService,