|
|
|
@ -44,7 +44,7 @@ async function updateAppUpdatedAt(ctx) { |
|
|
|
const appId = ctx.appId |
|
|
|
// if debouncing skip this update
|
|
|
|
// get methods also aren't updating
|
|
|
|
if (await checkDebounce(appId) || ctx.method === "GET") { |
|
|
|
if ((await checkDebounce(appId)) || ctx.method === "GET") { |
|
|
|
return |
|
|
|
} |
|
|
|
const db = new CouchDB(appId) |
|
|
|
@ -72,4 +72,4 @@ module.exports = async (ctx, permType) => { |
|
|
|
await checkDevAppLocks(ctx) |
|
|
|
// set updated at time on app
|
|
|
|
await updateAppUpdatedAt(ctx) |
|
|
|
} |
|
|
|
} |
|
|
|
|