mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
11 lines
273 B
TypeScript
11 lines
273 B
TypeScript
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
|
|
}
|
|
}
|