implemented UserCollection edit modal + custom collection poster + media access route
This commit is contained in:
1 parent
0ff3c49ca6
commit
e8c4fba943
17 files changed
+499
-73
No files matched your search
@@ -36,6 +36,17 @@ export class UserCollectionService {
|
||||
);
|
||||
}
|
||||
|
||||
// * PUT - update a collection
|
||||
updateCollection(
|
||||
userCollectionId: number,
|
||||
formData: FormData
|
||||
): Observable<UserCollection> {
|
||||
return this.http.put<UserCollection>(
|
||||
`${this.backend_apiUrl}/${this.apiAction}/${userCollectionId}`,
|
||||
formData
|
||||
);
|
||||
}
|
||||
|
||||
// Delete a list by ID
|
||||
deleteCollection(userCollectionId: number): Observable<any> {
|
||||
return this.http.delete(
|
||||
|
||||
Reference in new issue
Block a user