refactor(graphql): use shorthand syntax in mutations
This commit is contained in:
parent
4fe081e4be
commit
30a5c592e6
17 changed files with 27 additions and 52 deletions
|
@ -11,7 +11,7 @@ module Mutations
|
|||
def resolve(dossier:, instructeur:)
|
||||
dossier.archiver!(instructeur)
|
||||
|
||||
{ dossier: dossier }
|
||||
{ dossier: }
|
||||
end
|
||||
|
||||
def authorized?(dossier:, instructeur:)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue