1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Formatting.

This commit is contained in:
mike12345567 2021-05-05 12:11:31 +01:00
parent e31eb5d3d2
commit f781e8b350
3 changed files with 9 additions and 4 deletions

View file

@ -55,7 +55,7 @@ exports.reset = async ctx => {
// don't throw any kind of error to the user, this might give away something // don't throw any kind of error to the user, this might give away something
} }
ctx.body = { ctx.body = {
message: "If user exists an email has been sent." message: "If user exists an email has been sent.",
} }
} }

View file

@ -4,7 +4,7 @@ const { newid } = require("@budibase/auth").utils
const EXPIRE_TOKEN_SECONDS = 3600 const EXPIRE_TOKEN_SECONDS = 3600
async function getClient(db) { async function getClient(db) {
return await (new Client(db)).init() return await new Client(db).init()
} }
async function writeACode(db, value) { async function writeACode(db, value) {

View file

@ -1,6 +1,11 @@
const CouchDB = require("../db") const CouchDB = require("../db")
const { getConfigParams, StaticDatabases } = require("@budibase/auth").db const { getConfigParams, StaticDatabases } = require("@budibase/auth").db
const { Configs, TemplateBindings, LOGO_URL, EmailTemplatePurpose } = require("../constants") const {
Configs,
TemplateBindings,
LOGO_URL,
EmailTemplatePurpose,
} = require("../constants")
const { checkSlashesInUrl } = require("./index") const { checkSlashesInUrl } = require("./index")
const env = require("../environment") const env = require("../environment")