mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge branch 'master' into locations
This commit is contained in:
commit
5e77e7eaa7
@ -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
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user