implemented UserCollectionEntry order update on the backend

This commit is contained in:
X4Lo committed 2024-04-30 23:53:47 +01:00
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 }
);
}