Explicitly add graphql-tag as api dependency
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"@redwoodjs/api": "^0.33.0",
|
"@redwoodjs/api": "^0.33.0",
|
||||||
"@redwoodjs/api-server": "^0.33.0",
|
"@redwoodjs/api-server": "^0.33.0",
|
||||||
"@sentry/node": "^6.5.1",
|
"@sentry/node": "^6.5.1",
|
||||||
"cloudinary": "^1.23.0"
|
"cloudinary": "^1.23.0",
|
||||||
|
"graphql-tag": "^2.12.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ 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'
|
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)
|
||||||
|
|||||||
@@ -10068,7 +10068,7 @@ graphql-scalars@1.9.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
tslib "~2.2.0"
|
tslib "~2.2.0"
|
||||||
|
|
||||||
graphql-tag@2.12.4:
|
graphql-tag@2.12.4, graphql-tag@^2.12.4:
|
||||||
version "2.12.4"
|
version "2.12.4"
|
||||||
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.4.tgz#d34066688a4f09e72d6f4663c74211e9b4b7c4bf"
|
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.4.tgz#d34066688a4f09e72d6f4663c74211e9b4b7c4bf"
|
||||||
integrity sha512-VV1U4O+9x99EkNpNmCUV5RZwq6MnK4+pGbRYWG+lA/m3uo7TSqJF81OkcOP148gFP6fzdl7JWYBrwWVTS9jXww==
|
integrity sha512-VV1U4O+9x99EkNpNmCUV5RZwq6MnK4+pGbRYWG+lA/m3uo7TSqJF81OkcOP148gFP6fzdl7JWYBrwWVTS9jXww==
|
||||||
|
|||||||
Reference in New Issue
Block a user