sync main with release after debugging email verification #371
@@ -2,12 +2,11 @@ import { createUserInsecure } from 'src/services/users/users.js'
|
|||||||
import { db } from 'src/lib/db'
|
import { db } from 'src/lib/db'
|
||||||
import { sentryWrapper } from 'src/lib/sentry'
|
import { sentryWrapper } from 'src/lib/sentry'
|
||||||
import { enforceAlphaNumeric, generateUniqueString } from 'src/services/helpers'
|
import { enforceAlphaNumeric, generateUniqueString } from 'src/services/helpers'
|
||||||
import 'graphql-tag'
|
|
||||||
|
|
||||||
|
|
|||||||
const unWrappedHandler = async (req, _context) => {
|
const unWrappedHandler = async (req, _context) => {
|
||||||
const body = JSON.parse(req.body)
|
const body = JSON.parse(req.body)
|
||||||
// console.log(body)
|
console.log(body)
|
||||||
// console.log(_context)
|
console.log(_context)
|
||||||
// DUMP FROM THE LOGS ABOVE
|
// DUMP FROM THE LOGS ABOVE
|
||||||
/*
|
/*
|
||||||
5:09:30 AM: 2020-10-19T18:09:30.011Z 9da27e24-b6ec-404e-8e7d-25b5d323b67a INFO {
|
5:09:30 AM: 2020-10-19T18:09:30.011Z 9da27e24-b6ec-404e-8e7d-25b5d323b67a INFO {
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export const updatePart = async ({ id, input }) => {
|
|||||||
where: { id },
|
where: { id },
|
||||||
})
|
})
|
||||||
if (imageToDestroy) {
|
if (imageToDestroy) {
|
||||||
// console.log(`image destroyed, publicId: ${imageToDestroy}, partId: ${id}`)
|
console.log(`image destroyed, publicId: ${imageToDestroy}, partId: ${id}`)
|
||||||
// destroy after the db has been updated
|
// destroy after the db has been updated
|
||||||
destroyImage({ publicId: imageToDestroy })
|
destroyImage({ publicId: imageToDestroy })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user
and explicitly requiring this dependency for my signup function
From: https://community.redwoodjs.com/t/redwood-v0-32/2118/7
Ah - you said the magic word trifecta of Netlify + Functions + Dependency and I wonder if you encountered this: https://www.netlify.com/blog/2021/04/02/modern-faster-netlify-functions/
Perhaps the way Netlify is bundling now wasn't finding that dependency?
And v.0.32 was released on May 14 so ... "week of May 17" does coincide.
Thus
make graphql-tag and explicit dependencyfixing the issue fits.Thusmake graphql-tag and explicit dependencyfixing the issue fits.