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
|
@ -12,9 +12,9 @@ module Mutations
|
|||
field :errors, [Types::ValidationErrorType], null: true
|
||||
|
||||
def resolve(dossier:, instructeur:, disable_notification:)
|
||||
dossier.repasser_en_instruction!(instructeur: instructeur, disable_notification: disable_notification)
|
||||
dossier.repasser_en_instruction!(instructeur:, disable_notification:)
|
||||
|
||||
{ dossier: dossier }
|
||||
{ dossier: }
|
||||
end
|
||||
|
||||
def authorized?(dossier:, instructeur:, **args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue