Skip to content

Commit

Permalink
refactor: import error directly from index
Browse files Browse the repository at this point in the history
  • Loading branch information
naftis committed Sep 12, 2023
1 parent 33d0a80 commit 4c35d2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dci-api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as Hapi from '@hapi/hapi'
import { HOST, PORT, DEFAULT_TIMEOUT_MS, NODE_ENV } from './constants'
import { routes } from './routes'
import { ParseError } from 'dci-opencrvs-bridge'
import { AuthorizationError } from 'opencrvs-api/src/error'
import { AuthorizationError } from 'opencrvs-api'
import pino from 'hapi-pino'
import { ValidationError, error } from './error'

Expand Down
1 change: 1 addition & 0 deletions packages/opencrvs-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,5 @@ export async function fetchRegistration(
}

export * from './types'
export * from './error'
export { OPENCRVS_GATEWAY_URL } from './constants'

0 comments on commit 4c35d2b

Please sign in to comment.