Skip to content

Commit

Permalink
fix: enforce graphql auth unless stage is dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Dec 23, 2017
1 parent 80b437d commit 8dd8315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/samplebot/lambda/http/graphql.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/samplebot/lambda/http/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ lambda.tasks.add({
}
})

if (false) {
if (lambda.stage !== 'dev') {
createGraphQLAuth({ bot, employeeManager })
}

Expand Down

0 comments on commit 8dd8315

Please sign in to comment.