Moved tracks to the new put mechanism

ref #39
This commit is contained in:
Nicolai Ort 2020-12-20 18:07:45 +01:00
parent 532b5a56a5
commit fbe2b358bd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export class TrackController {
throw new TrackIdsNotMatchingError();
}
await this.trackRepository.update(oldTrack, track);
await this.trackRepository.save(track);
return new ResponseTrack(track);
}