From e6fa7f0a9f1dc3785367ae10ba81e543a606a12f Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 6 Dec 2022 13:25:29 +0100 Subject: [PATCH] feat(graphql): update stored query to use files instead of file --- app/graphql/api/v2/stored_query.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/graphql/api/v2/stored_query.rb b/app/graphql/api/v2/stored_query.rb index 9a8631bbe..72c49381e 100644 --- a/app/graphql/api/v2/stored_query.rb +++ b/app/graphql/api/v2/stored_query.rb @@ -338,7 +338,7 @@ class API::V2::StoredQuery expert { email } - attachment { + attachments { ...FileFragment } } @@ -348,7 +348,7 @@ class API::V2::StoredQuery email body createdAt - attachment { + attachments { ...FileFragment } } @@ -423,7 +423,7 @@ class API::V2::StoredQuery values } ... on PieceJustificativeChamp { - file { + files { ...FileFragment } }