Fixing delete
Some checks failed
Music Collection CI Workflow / test (./backend) (push) Failing after 27s
Music Collection CI Workflow / test (./frontend) (push) Failing after 27s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/msuic-collection-backend, ./backend) (push) Has been skipped
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Has been skipped
Music Collection CI Workflow / deploy (push) Has been skipped

This commit is contained in:
Phill Pover 2025-04-06 22:45:46 +01:00
parent 0d3fc109ac
commit 09047230ce
3 changed files with 5 additions and 5 deletions

View File

@ -28,9 +28,9 @@ jobs:
# - name: Run lint # - name: Run lint
# run: npm run lint # run: npm run lint
# working-directory: ./${{ matrix.workingdir }} # working-directory: ./${{ matrix.workingdir }}
# - name: Run tests - name: Run tests
# run: npm run test run: npm run test
# working-directory: ./${{ matrix.workingdir }} working-directory: ./${{ matrix.workingdir }}
build-and-push-images: build-and-push-images:
needs: test needs: test

View File

@ -24,7 +24,7 @@ export class AlbumController {
return this.albumService.create(createAlbumDto); return this.albumService.create(createAlbumDto);
} }
@Put() @Put(':id')
async update(@Param('id') id: number, @Body() updateAlbumDto: UpdateAlbumDto): Promise<string> { async update(@Param('id') id: number, @Body() updateAlbumDto: UpdateAlbumDto): Promise<string> {
return this.albumService.update(id, updateAlbumDto); return this.albumService.update(id, updateAlbumDto);
} }

View File

@ -24,7 +24,7 @@ export class SongController {
return this.songService.create(createSongDto); return this.songService.create(createSongDto);
} }
@Put() @Put(':id')
async update(@Param('id') id: number, @Body() updateSongDto: UpdateSongDto): Promise<string> { async update(@Param('id') id: number, @Body() updateSongDto: UpdateSongDto): Promise<string> {
return this.songService.update(id, updateSongDto); return this.songService.update(id, updateSongDto);
} }