From 8c260be195cb05d30cf53b7aeb606b56e5650bd0 Mon Sep 17 00:00:00 2001 From: aleckvincent Date: Tue, 20 Feb 2024 16:33:52 +0100 Subject: [PATCH] [free note] put freeNoteAction into type Query instead of type mutation --- backend/src/main/resources/graphql/action.graphqls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/resources/graphql/action.graphqls b/backend/src/main/resources/graphql/action.graphqls index ebae6bbed..957ae057c 100644 --- a/backend/src/main/resources/graphql/action.graphqls +++ b/backend/src/main/resources/graphql/action.graphqls @@ -1,5 +1,6 @@ extend type Query { actionById(id: ID!, missionId: ID!, source: MissionSource!, type: ActionType!): Action + freeNotesByMissionId(missionId: Int!): [NavActionFreeNote] } extend type Mutation { addOrUpdateStatus(statusAction: ActionStatusInput!): NavActionStatus! @@ -8,7 +9,7 @@ extend type Mutation { deleteControl(id: String!): Boolean! addOrUpdateFreeNote(freeNoteAction: ActionFreeNoteInput!): NavActionFreeNote deleteFreeNote(id: String!): Boolean - freeNotesByMissionId(missionId: Int!): [NavActionFreeNote] + } type Action {