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