Formatting

This commit is contained in:
Kurt Hutten
2021-06-29 17:17:21 +10:00
parent 726945c2ab
commit 7417499d4b
11 changed files with 92 additions and 66 deletions

View File

@@ -3,7 +3,7 @@ import { db } from 'src/lib/db'
import { sentryWrapper } from 'src/lib/sentry'
import { enforceAlphaNumeric, generateUniqueString } from 'src/services/helpers'
import 'graphql-tag'
import {sendMail} from 'src/lib/sendmail'
import { sendMail } from 'src/lib/sendmail'
const unWrappedHandler = async (req, _context) => {
const body = JSON.parse(req.body)
@@ -57,7 +57,7 @@ const unWrappedHandler = async (req, _context) => {
const user = body.user
const email = user.email
let roles = []
const roles = []
if (eventType === 'signup') {
roles.push('user')
@@ -77,7 +77,7 @@ const unWrappedHandler = async (req, _context) => {
await sendMail({
to: 'k.hutten@protonmail.ch',
from: {
address:'news@mail.cadhub.xyz',
address: 'news@mail.cadhub.xyz',
name: 'CadHub',
},
subject: `New Cadhub User`,