small fixes

This commit is contained in:
Wyatt Johnson
2017-08-24 09:47:27 -06:00
parent ddb555e07f
commit 9a1374070f
2 changed files with 1 additions and 9 deletions
-8
View File
@@ -1,8 +0,0 @@
{
"eslint.autoFixOnSave": true,
"editor.tabSize": 2,
"editor.rulers": [
80
],
"files.trimTrailingWhitespace": true
}
+1 -1
View File
@@ -42,7 +42,7 @@ const User = {
return null;
},
tokens({id, tokens}, args, {user}) {
if (!user || ((user.id !== id) && !user.can(LIST_OWN_TOKENS))) {
if (!user || ((user.id !== id) && !user.can(LIST_OWN_TOKENS))) {
return null;
}