lint
This commit is contained in:
parent
5732c80a8a
commit
dbd67d251c
|
@ -9,7 +9,6 @@
|
||||||
Table,
|
Table,
|
||||||
Modal,
|
Modal,
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import { onMount } from "svelte"
|
|
||||||
import { backups } from "stores/portal"
|
import { backups } from "stores/portal"
|
||||||
import { createPaginationStore } from "helpers/pagination"
|
import { createPaginationStore } from "helpers/pagination"
|
||||||
import DatasourceRenderer from "./DatasourceRenderer.svelte"
|
import DatasourceRenderer from "./DatasourceRenderer.svelte"
|
||||||
|
|
|
@ -21,7 +21,7 @@ export function createBackupsStore() {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function searchBackups(appId, trigger, page) {
|
async function searchBackups(appId, trigger, page) {
|
||||||
return API.searchBackups({appId, trigger, page})
|
return API.searchBackups({ appId, trigger, page })
|
||||||
}
|
}
|
||||||
|
|
||||||
async function createManualBackup(appId, name) {
|
async function createManualBackup(appId, name) {
|
||||||
|
|
|
@ -2,13 +2,14 @@ export const buildBackupsEndpoints = API => ({
|
||||||
/**
|
/**
|
||||||
* Gets a list of users in the current tenant.
|
* Gets a list of users in the current tenant.
|
||||||
*/
|
*/
|
||||||
searchBackups: async ({appId, trigger, page}) => {
|
searchBackups: async ({ appId, trigger, page }) => {
|
||||||
console.log(page)
|
console.log(page)
|
||||||
return await API.post({
|
return await API.post({
|
||||||
url: `/api/apps/${appId}/backups/search`,
|
url: `/api/apps/${appId}/backups/search`,
|
||||||
body: {
|
body: {
|
||||||
page,
|
page,
|
||||||
}
|
trigger,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue