Skip to content

Commit

Permalink
fix: searchable
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 18, 2024
1 parent 3acfef4 commit 8f11741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/graphql/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ const resolvers = {
},
searchable: (_, __, { perms }) => {
const options = config.getSafe('api.searchable')
return Object.keys(options).filter((k) => options[k] && perms[k])
return Object.keys(options).filter((k) => perms[k] && options[k])
},
spawnpoints: (_, args, { perms, Db }) => {
if (perms?.spawnpoints) {
Expand Down

0 comments on commit 8f11741

Please sign in to comment.