chore(server): reverts inadvertent change

This commit is contained in:
Dimitrie Stefanescu
2022-09-01 12:21:24 +03:00
parent b2ae724fc6
commit 39ddff422e
@@ -27,7 +27,7 @@ module.exports = {
async user(parent, args, context) {
// User wants info about himself and he's not authenticated - just return null
// if (!context.auth && !args.id) return null
if (!context.auth && !args.id) return null
await validateServerRole(context, 'server:user')