Refactor error messages (#463)

* refactor: improve error messages to user

* refactor: remove unused
This commit is contained in:
Carlos Valente
2023-07-23 15:12:25 +02:00
committed by GitHub
parent 31fc222876
commit 60799d3d88
9 changed files with 47 additions and 61 deletions
-8
View File
@@ -28,14 +28,6 @@ export async function requestPutEvent(data: Partial<OntimeRundownEntry>) {
return axios.put(rundownURL, data);
}
/**
* @description HTTP request to modify event
* @return {Promise}
*/
export async function requestPatchEvent(data: OntimeRundownEntry) {
return axios.patch(rundownURL, data);
}
export type ReorderEntry = {
eventId: string;
from: number;