diff --git a/packages/server/src/middleware/builder.js b/packages/server/src/middleware/builder.js index 4b94580a62..597ac39fa4 100644 --- a/packages/server/src/middleware/builder.js +++ b/packages/server/src/middleware/builder.js @@ -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 (ctx.method === "GET" || (await checkDebounce(appId))) { return } const db = new CouchDB(appId)