Skip to content

Commit

Permalink
Merge branch feat-birth-v2 into address-input-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamil314 committed Jan 16, 2025
2 parents b154e6d + fc1e9fe commit b5ab7da
Show file tree
Hide file tree
Showing 14 changed files with 1,436 additions and 2,237 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@hapi/boom": "^9.1.1",
"@hapi/hapi": "^20.0.1",
"@hapi/inert": "^6.0.3",
"@opencrvs/toolkit": "0.0.13-events",
"@opencrvs/toolkit": "0.0.14-events",
"@types/chalk": "^2.2.0",
"@types/csv2json": "^1.4.0",
"@types/fhir": "^0.0.30",
Expand Down
4 changes: 2 additions & 2 deletions src/api/custom-event/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
import * as Hapi from '@hapi/hapi'
import { tennisClubMembershipEvent } from '@countryconfig/form/tennis-club-membership'
import { EventDocument } from '@opencrvs/toolkit/events'
import { BirthEvent } from '@countryconfig/form/V2/birth'
import { birthEvent } from '@countryconfig/form/v2/birth'

export function getCustomEventsHandler(
request: Hapi.Request,
h: Hapi.ResponseToolkit
) {
return h.response([tennisClubMembershipEvent, BirthEvent]).code(200)
return h.response([tennisClubMembershipEvent, birthEvent]).code(200)
}

export function onRegisterHandler(
Expand Down
Loading

0 comments on commit b5ab7da

Please sign in to comment.