This commit is contained in:
6
dist/services/TrackService.js
vendored
6
dist/services/TrackService.js
vendored
@@ -65,14 +65,18 @@ class TrackService {
|
||||
* Remove
|
||||
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns ResponseTrack
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerRemove(id) {
|
||||
static async trackControllerRemove(id, force) {
|
||||
const result = await request_1.request({
|
||||
method: 'DELETE',
|
||||
path: `/api/tracks/${id}`,
|
||||
query: {
|
||||
'force': force,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user