Get downloads now supports filtering by uids

This commit is contained in:
Isaac Abadi
2021-09-06 16:12:51 -06:00
parent 97c5102eb9
commit c3d91e89a8
2 changed files with 8 additions and 4 deletions

View File

@@ -413,8 +413,8 @@ export class PostsService implements CanActivate {
return this.http.post(this.path + 'getSubscriptions', {}, this.httpOptions);
}
getCurrentDownloads() {
return this.http.get(this.path + 'downloads', this.httpOptions);
getCurrentDownloads(uids = null) {
return this.http.post(this.path + 'downloads', {uids: uids}, this.httpOptions);
}
getCurrentDownload(download_uid) {