mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
db0eee3b9c
* chore: upgrade dependencies * feat/mac: draft pipeline * feat/mac: use public folder for transient files * feat/mac: set app fullscreen * feat/mac: cmd + , toggles menu * feat/mac: update readme * refact: easier login process * refact prevent style issues with safari * refact reduce css download * style: cleanup paginator design * style: studio clock is responsive * style: fix spacing style issues with safari
10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
import axios from 'axios';
|
|
import { eventURL } from './apiConstants';
|
|
|
|
export const fetchEvent = async () => {
|
|
const res = await axios.get(eventURL);
|
|
return res.data;
|
|
};
|
|
|
|
export const postEvent = async (data) => axios.post(eventURL, data);
|