1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00
This commit is contained in:
Michael Drury 2021-06-08 18:29:34 +01:00
parent 449b534db4
commit 7bd07031e4
4 changed files with 15 additions and 1308 deletions

View file

@ -99,7 +99,6 @@ async function createInstance(template) {
// replicate the template data to the instance DB
// this is currently very hard to test, downloading and importing template files
/* istanbul ignore next */
let _rev
if (template && template.useTemplate === "true") {
const { ok } = await db.load(await getTemplateStream(template))
if (!ok) {

View file

@ -5,7 +5,7 @@ const {
} = require("../../db/utils")
const { InternalTables } = require("../../db/utils")
const { addAppRoleToUser } = require("../../utilities/workerRequests")
const { getGlobalUsers, getGlobalUser } = require("../../utilities/global")
const { getGlobalUsers } = require("../../utilities/global")
const { getFullUser } = require("../../utilities/users")
function removeGlobalProps(user) {

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,5 @@
const fetch = require("node-fetch")
const { DocumentTypes } = require("@budibase/auth").db
const CouchDB = require("../../db")
const env = require("../../environment")
const APP_PREFIX = "app_"
const URL_REGEX_SLASH = /\/|\\/g