diff --git a/packages/server/src/db/client.js b/packages/server/src/db/client.js index 3e3a4f50fe..3fc2cae64d 100644 --- a/packages/server/src/db/client.js +++ b/packages/server/src/db/client.js @@ -15,13 +15,13 @@ let POUCH_DB_DEFAULTS = { skip_setup: env.isProd(), } -if (env.isTest()) { - PouchDB.plugin(require("pouchdb-adapter-memory")) - POUCH_DB_DEFAULTS = { - prefix: undefined, - adapter: "memory", - } -} +// if (env.isTest()) { +// PouchDB.plugin(require("pouchdb-adapter-memory")) +// POUCH_DB_DEFAULTS = { +// prefix: undefined, +// adapter: "memory", +// } +// } const Pouch = PouchDB.defaults(POUCH_DB_DEFAULTS) diff --git a/packages/worker/src/api/controllers/auth.js b/packages/worker/src/api/controllers/auth.js index 0814a5c940..03589ab457 100644 --- a/packages/worker/src/api/controllers/auth.js +++ b/packages/worker/src/api/controllers/auth.js @@ -28,7 +28,7 @@ exports.authenticate = async (ctx, next) => { exports.logout = async ctx => { clearCookie(ctx, Cookies.Auth) - ctx.body = { messaged: "User logged out" } + ctx.body = { message: "User logged out" } } exports.googleAuth = async () => {