Skip to content

Commit

Permalink
chore(api): upgrade to graphql 16
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenoak committed Dec 3, 2023
1 parent 390d2db commit 19ad4fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions packages/spelunker-api/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/spelunker-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"debug": "^4.3.2",
"express": "^4.17.1",
"globby": "^10.0.2",
"graphql": "^15.8.0",
"graphql": "^16.8.1",
"knex": "^2.5.1",
"mysql2": "^3.6.5",
"pngjs": "^6.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export default new GraphQLUnionType({
types: () => [AreaType, QuestSortType],
resolveType: (value) => {
const name = value.constructor.name;
return lookup[name];
return lookup[name].name;
},
});

0 comments on commit 19ad4fe

Please sign in to comment.