[chore] Run prettier
This commit is contained in:
parent
9981ba487b
commit
4082f64e78
|
@ -44,10 +44,10 @@ export const useScheduleStore = defineStore({
|
||||||
async addJobType(name: string) {
|
async addJobType(name: string) {
|
||||||
try {
|
try {
|
||||||
const { data } = await api.post<FG.JobType>('/events/job-types', { name: name });
|
const { data } = await api.post<FG.JobType>('/events/job-types', { name: name });
|
||||||
this.jobTypes.push(data)
|
this.jobTypes.push(data);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// TODO: HANDLE ERROR
|
// TODO: HANDLE ERROR
|
||||||
throw error
|
throw error;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue