diff --git a/src/__tests__/clients/db/PatientRepository.test.ts b/src/__tests__/clients/db/PatientRepository.test.ts index 6d24adcb2a..1aa405e332 100644 --- a/src/__tests__/clients/db/PatientRepository.test.ts +++ b/src/__tests__/clients/db/PatientRepository.test.ts @@ -1,7 +1,7 @@ import { patients } from 'config/pouchdb' import PatientRepository from 'clients/db/PatientRepository' import Patient from 'model/Patient' -import * as shortid from 'shortid' +import shortid from 'shortid' import { getTime, isAfter } from 'date-fns' const uuidV4Regex = /^[A-F\d]{8}-[A-F\d]{4}-4[A-F\d]{3}-[89AB][A-F\d]{3}-[A-F\d]{12}$/i diff --git a/src/clients/db/PatientRepository.ts b/src/clients/db/PatientRepository.ts index 932b78b666..5fb5937ed0 100644 --- a/src/clients/db/PatientRepository.ts +++ b/src/clients/db/PatientRepository.ts @@ -1,4 +1,4 @@ -import * as shortid from 'shortid' +import shortid from 'shortid' import Patient from '../../model/Patient' import Repository from './Repository' import { patients } from '../../config/pouchdb'