Skip to content

Commit

Permalink
fix: remove unnecessary mutations
Browse files Browse the repository at this point in the history
  • Loading branch information
naftis committed Nov 12, 2024
1 parent 0f617ed commit b779546
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/client/src/views/DataProvider/birth/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,6 @@ export const MARK_EVENT_AS_DUPLICATE = gql`
}
`

export const CONFIRM_REGISTRATION = gql`
mutation confirmRegistration($id: ID!, $details: BirthRegistrationInput!) {
confirmRegistration(id: $id, details: $details)
}
`

export const REJECT_REGISTRATION = gql`
mutation rejectRegistration(
$id: String!
$details: IdentifierInput!
) {
rejectRegistration(
id: $id
details: $details
)
}
`

export function getBirthMutation(action: SubmissionAction) {
switch (action) {
case SubmissionAction.SUBMIT_FOR_REVIEW:
Expand Down

0 comments on commit b779546

Please sign in to comment.