refactor(graphql): use shorthand syntax in mutations

This commit is contained in:
Paul Chavard 2022-12-07 13:21:55 +01:00
parent 4fe081e4be
commit 30a5c592e6
17 changed files with 27 additions and 52 deletions

View file

@ -11,7 +11,7 @@ module Mutations
def resolve(dossier:, instructeur:)
dossier.archiver!(instructeur)
{ dossier: dossier }
{ dossier: }
end
def authorized?(dossier:, instructeur:)