Skip to content

Commit

Permalink
fix: don't require identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
naftis committed Nov 12, 2024
1 parent 3657148 commit e598b97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/gateway/src/features/registration/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ input IdentifierInput {
input ConfirmRegistrationInput {
registrationNumber: String!
error: String
identifiers: [IdentifierInput!]!
identifiers: [IdentifierInput!]
}

input RejectRegistrationInput {
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/src/graphql/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export interface GQLReinstated {
export interface GQLConfirmRegistrationInput {
registrationNumber: string
error?: string
identifiers: Array<GQLIdentifierInput>
identifiers?: Array<GQLIdentifierInput>
}

export interface GQLRejectRegistrationInput {
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/src/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ type Reinstated {
input ConfirmRegistrationInput {
registrationNumber: String!
error: String
identifiers: [IdentifierInput!]!
identifiers: [IdentifierInput!]
}

input RejectRegistrationInput {
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/src/workflow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export async function confirmRegistration(
details: {
error: string | undefined
registrationNumber: string
identifiers: IdentifierInput[]
identifiers?: IdentifierInput[]
}
) {
const res: ReadyForReviewRecord = await createRequest(
Expand Down

0 comments on commit e598b97

Please sign in to comment.