mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-26 15:52:20 +01:00
11 lines
349 B
TypeScript
11 lines
349 B
TypeScript
import apiClient from './clients/api-client';
|
|
import { AxiosResponse } from 'axios';
|
|
import { EventTheme } from '../models/event-theme';
|
|
|
|
export default class EventThemeAPI {
|
|
static async index (): Promise<Array<EventTheme>> {
|
|
const res: AxiosResponse<Array<EventTheme>> = await apiClient.get('/api/event_themes');
|
|
return res?.data;
|
|
}
|
|
}
|