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 { 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,
|
||||||
|
|||||||
@@ -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) {}
|
||||||
|
|
||||||
|
|||||||
@@ -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) {}
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user