implemented UserCollectionEntry order update on the backend
This commit is contained in:
1 parent
537763ff7d
commit
1b21d84d0b
5 files changed
+49
-36
No files matched your search
@@ -61,8 +61,8 @@ export class UserCollectionService {
|
||||
newOrder: number
|
||||
): Observable<any> {
|
||||
return this.http.patch(
|
||||
`${this.backend_apiUrl}/${this.apiAction}/${userCollectionId}/entries/${entryId}/order`,
|
||||
{ newOrder }
|
||||
`${this.backend_apiUrl}/${this.apiAction}/${userCollectionId}/entries/${entryId}`,
|
||||
{ newOrder: newOrder }
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user