mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 21:08:12 +00:00
Batch 1 to 3 implementation
This commit is contained in:
@@ -19,11 +19,7 @@ const asList = <T>(payload: ListResponse<T>): T[] =>
|
||||
export const wagonTypesService = {
|
||||
async getWagonTypes() {
|
||||
const response = await api.get<ListResponse<WagonType>>('/wagon-types', {
|
||||
<<<<<<< HEAD
|
||||
params: { isActive: 'all' },
|
||||
=======
|
||||
params: { isActive: 'all', pageSize: 500 },
|
||||
>>>>>>> 10b011de8feafce5c0bae21594df5b36596587db
|
||||
});
|
||||
return asList(response.data);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user