Re-init DB and scaffold all models

This commit is contained in:
Kurt Hutten
2020-11-02 07:02:11 +11:00
parent 55f9dfd6de
commit 86df1d501d
97 changed files with 3202 additions and 2122 deletions

View File

@@ -1,4 +1,4 @@
import { createUserInsecure } from 'src/services/users/users.js'
// import { createUserInsecure } from 'src/services/users/users.js'
export const handler = async (req, _context) => {
const body = JSON.parse(req.body)
@@ -66,7 +66,7 @@ export const handler = async (req, _context) => {
bio: 'default bio'
// full_name: user.user_metadata.full_name
}
await createUserInsecure({input})
// await createUserInsecure({input})
return {
statusCode: 200,