Fix: The route to update sort order of Menu Categories was not written.

This commit is contained in:
tanshu committed 2021-04-27 07:22:32 +05:30
1 parent 59bab991fd
commit f78ad68235
3 files changed
+22 -3

No files matched your search

@@ -52,7 +52,7 @@ export class MenuCategoryService {
updateSortOrder(list: MenuCategory[]): Observable<boolean> {
return this.http
.post<MenuCategory[]>(url, list, httpOptions)
.post<MenuCategory[]>(`${url}/list`, list, httpOptions)
.pipe(
catchError(this.log.handleError(serviceName, 'updateSortOrder')),
) as Observable<boolean>;