Be explicit about discord.js dependency in graphql lambda

This commit is contained in:
Kurt Hutten
2022-01-19 20:00:13 +11:00
parent fdbf719b04
commit 31ffeab4e6
3 changed files with 12 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
"axios": "^0.21.1",
"cloudinary": "^1.23.0",
"cors": "^2.8.5",
"discord.js": "^13.5.1",
"discord.js": "^13.6.0",
"express": "^4.17.1",
"human-id": "^2.0.1",
"middy": "^0.36.0",

View File

@@ -1,6 +1,7 @@
import { createGraphQLHandler } from '@redwoodjs/graphql-server'
import { createSentryApolloPlugin } from 'src/lib/sentry'
import { logger } from 'src/lib/logger'
import "discord.js"
import directives from 'src/directives/**/*.{js,ts}'
import sdls from 'src/graphql/**/*.sdl.{js,ts}'