Skip to content

Commit

Permalink
Merge pull request #272 from opencrvs/ocrvs-release-7156
Browse files Browse the repository at this point in the history
chore!: rename application config file
  • Loading branch information
Zangetsu101 authored Sep 17, 2024
2 parents e64ee74 + a8da778 commit fb461e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 114 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { countryLogo } from '@countryconfig/api/application/country-logo'

export const defaultApplicationConfig = {
export const applicationConfig = {
APPLICATION_NAME: 'Farajaland CRS',
BIRTH: {
REGISTRATION_TARGET: 30,
Expand Down
2 changes: 1 addition & 1 deletion src/api/application/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import { Request, ResponseToolkit } from '@hapi/hapi'
import { defaultApplicationConfig as applicationConfig } from './application-config-default'
import { applicationConfig } from './application-config'

export async function applicationConfigHandler(_: Request, h: ResponseToolkit) {
const res = JSON.stringify(applicationConfig)
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import { usersHandler } from './data-seeding/employees/handler'
import { applicationConfigHandler } from './api/application/handler'
import { validatorsHandler } from './form/common/custom-validation-conditionals/validators-handler'
import { conditionalsHandler } from './form/common/custom-validation-conditionals/conditionals-handler'
import { COUNTRY_WIDE_CRUDE_DEATH_RATE } from './api/application/application-config-default'
import { COUNTRY_WIDE_CRUDE_DEATH_RATE } from './api/application/application-config'
import { handlebarsHandler } from './form/common/certificate/handlebars/handler'
import { trackingIDHandler } from './api/tracking-id/handler'
import { dashboardQueriesHandler } from './api/dashboards/handler'
Expand Down
Loading

0 comments on commit fb461e9

Please sign in to comment.