mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-21 12:29:03 +01:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
fc83b4d9c3
commit
5be06babd7
@ -1,7 +1,7 @@
|
||||
import apiClient from './clients/api-client';
|
||||
import { AxiosResponse } from 'axios';
|
||||
|
||||
export default class MachineAPI {
|
||||
export default class SpaceAPI {
|
||||
static async index (filters?: boolean): Promise<Array<any>> {
|
||||
const res: AxiosResponse<Array<any>> = await apiClient.get(`/api/spaces${this.filtersToQuery(filters)}`);
|
||||
return res?.data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user