Merge branch 'master' into locations

This commit is contained in:
Robert Schäfer 2019-01-15 13:18:31 +01:00 committed by GitHub
commit 5e77e7eaa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ const isModerator = rule()(async (parent, args, ctx, info) => {
})
*/
const isOwner = rule()(async (parent, args, ctx, info) => {
const isOwner = rule({ cache: 'no_cache' })(async (parent, args, ctx, info) => {
return ctx.user.id === parent.id
})