implemented UserCollection edit modal + custom collection poster + media access route

This commit is contained in:
X4Lo committed 2024-05-01 23:44:33 +01:00
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(