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
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 33s
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user