|
|
@ -230,7 +230,6 @@ exports.update = async function (ctx) { |
|
|
|
|
|
|
|
|
exports.delete = async function (ctx) { |
|
|
exports.delete = async function (ctx) { |
|
|
const db = new CouchDB(ctx.params.appId) |
|
|
const db = new CouchDB(ctx.params.appId) |
|
|
const app = await db.get(DocumentTypes.APP_METADATA) |
|
|
|
|
|
const result = await db.destroy() |
|
|
const result = await db.destroy() |
|
|
/* istanbul ignore next */ |
|
|
/* istanbul ignore next */ |
|
|
if (!env.isTest()) { |
|
|
if (!env.isTest()) { |
|
|
|