mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
don’t capitalize collection name
This commit is contained in:
parent
6693768e6e
commit
f4dc181d60
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export const createCollection = options => {
|
|||
|
||||
// add collection to resolver context
|
||||
const context = {};
|
||||
context[Utils.capitalize(collectionName)] = collection;
|
||||
context[collectionName] = collection;
|
||||
GraphQLSchema.addToContext(context);
|
||||
|
||||
if (generateGraphQLSchema){
|
||||
|
|
Loading…
Add table
Reference in a new issue