implemented hooks for user-collections & user-collection-entry models to update updatedAt and order fields
This commit is contained in:
1 parent
36866dabe6
commit
cea1b207a3
12 files changed
+170
-61
No files matched your search
@@ -46,12 +46,11 @@ export class UserCollectionService {
|
||||
// Add an entry to a list
|
||||
addEntryToCollection(
|
||||
userCollectionId: number,
|
||||
entryId: number,
|
||||
order: number
|
||||
entryId: number
|
||||
): Observable<UserCollectionEntry> {
|
||||
return this.http.post<UserCollectionEntry>(
|
||||
`${this.backend_apiUrl}/${this.apiAction}/${userCollectionId}/entries/${entryId}`,
|
||||
{ order: order }
|
||||
{}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user