mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-13 01:01:28 +03:00
Sub's videos are removed from the post request when deleting a video as it's not needed
This commit is contained in:
@@ -365,6 +365,7 @@ export class PostsService implements CanActivate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deleteSubscriptionFile(sub, file, deleteForever, file_uid) {
|
deleteSubscriptionFile(sub, file, deleteForever, file_uid) {
|
||||||
|
delete sub['videos'];
|
||||||
return this.http.post(this.path + 'deleteSubscriptionFile', {sub: sub, file: file, deleteForever: deleteForever,
|
return this.http.post(this.path + 'deleteSubscriptionFile', {sub: sub, file: file, deleteForever: deleteForever,
|
||||||
file_uid: file_uid}, this.httpOptions)
|
file_uid: file_uid}, this.httpOptions)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user