lint fix
This commit is contained in:
parent
068f54be6e
commit
a2f613d855
|
@ -5,7 +5,8 @@ const env = require("../../environment")
|
||||||
|
|
||||||
exports.create = async function(ctx) {
|
exports.create = async function(ctx) {
|
||||||
const instanceName = ctx.request.body.name
|
const instanceName = ctx.request.body.name
|
||||||
const instanceId = `inst_${ctx.params.applicationId.substring(0, 7)}_${newid()}`
|
const appShortId = ctx.params.applicationId.substring(0, 7)
|
||||||
|
const instanceId = `inst_${appShortId}_${newid()}`
|
||||||
const { applicationId } = ctx.params
|
const { applicationId } = ctx.params
|
||||||
const clientId = env.CLIENT_ID
|
const clientId = env.CLIENT_ID
|
||||||
const db = new CouchDB(instanceId)
|
const db = new CouchDB(instanceId)
|
||||||
|
|
Loading…
Reference in New Issue