Skip to content

Commit

Permalink
fix: update resolver parameter of certTemplateId (#8349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil20 authored Jan 21, 2025
1 parent 980f37d commit 6b6d689
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gateway/src/features/registration/type-resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,8 @@ export const typeResolvers: GQLResolver = {

return { ...userResponse, role }
},
certificateTemplateId(docRef: DocumentReference, _) {
certificateTemplateId(parent: { docRef: DocumentReference }, _) {
const docRef = parent.docRef
const certificateTemplateId = findExtension(
`${OPENCRVS_SPECIFICATION_URL}extension/certificateTemplateId`,
docRef.extension as Extension[]
Expand Down

0 comments on commit 6b6d689

Please sign in to comment.