Web UX for the exporter

This commit is contained in:
Jackson Harper
2024-10-28 11:15:12 +08:00
parent 88fe867916
commit e48d3c0cf5
2 changed files with 59 additions and 3 deletions

View File

@ -0,0 +1,11 @@
import { apiFetcher } from './networkHelpers'
export const createExport = async (): Promise<boolean> => {
try {
const response = await apiFetcher(`/api/export/`)
return true
} catch (error) {
console.log('error scheduling export. ')
return false
}
}