Added edit subscription dialog (WIP)

This commit is contained in:
Isaac Grynsztein
2020-07-15 22:58:17 -04:00
parent e7181b57c7
commit 335b588c3a
6 changed files with 145 additions and 1 deletions

View File

@@ -285,6 +285,10 @@ export class PostsService implements CanActivate {
audioOnly: audioOnly, customArgs: customArgs, customFileOutput: customFileOutput}, this.httpOptions);
}
updateSubscription(subscription) {
return this.http.post(this.path + 'updateSubscription', {subscription: subscription}, this.httpOptions);
}
unsubscribe(sub, deleteMode = false) {
return this.http.post(this.path + 'unsubscribe', {sub: sub, deleteMode: deleteMode}, this.httpOptions)
}