Skip to content

Commit

Permalink
[free note] put freeNoteAction into type Query instead of type mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
aleckvincent authored and lwih committed Feb 21, 2024
1 parent 5d99212 commit 8c260be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/main/resources/graphql/action.graphqls
Original file line number Diff line number Diff line change
@@ -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!
Expand All @@ -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 {
Expand Down

0 comments on commit 8c260be

Please sign in to comment.