Linting.
This commit is contained in:
parent
8775ea7fd9
commit
853b7b6fdc
|
@ -11,7 +11,8 @@
|
|||
|
||||
{#if show}
|
||||
<ActionButton
|
||||
on:click={() => window.open(`/api/global/auth/${tenantId}/google`, "_blank")}
|
||||
on:click={() =>
|
||||
window.open(`/api/global/auth/${tenantId}/google`, "_blank")}
|
||||
>
|
||||
<div class="inner">
|
||||
<img src={GoogleLogo} alt="google icon" />
|
||||
|
|
|
@ -243,7 +243,9 @@
|
|||
})
|
||||
})
|
||||
}
|
||||
const oidcResponse = await api.get(`/api/global/configs/${ConfigTypes.OIDC}`)
|
||||
const oidcResponse = await api.get(
|
||||
`/api/global/configs/${ConfigTypes.OIDC}`
|
||||
)
|
||||
const oidcDoc = await oidcResponse.json()
|
||||
if (!oidcDoc._id) {
|
||||
providers.oidc = {
|
||||
|
|
|
@ -75,7 +75,9 @@
|
|||
async function fetchSmtp() {
|
||||
loading = true
|
||||
// fetch the configs for smtp
|
||||
const smtpResponse = await api.get(`/api/global/configs/${ConfigTypes.SMTP}`)
|
||||
const smtpResponse = await api.get(
|
||||
`/api/global/configs/${ConfigTypes.SMTP}`
|
||||
)
|
||||
const smtpDoc = await smtpResponse.json()
|
||||
|
||||
if (!smtpDoc._id) {
|
||||
|
|
|
@ -149,7 +149,10 @@ exports.adminUser = async ctx => {
|
|||
)
|
||||
|
||||
if (response.rows.some(row => row.doc.admin)) {
|
||||
ctx.throw(403, "You cannot initialise once an global user has been created.")
|
||||
ctx.throw(
|
||||
403,
|
||||
"You cannot initialise once an global user has been created."
|
||||
)
|
||||
}
|
||||
|
||||
const user = {
|
||||
|
|
Loading…
Reference in New Issue