Skip to content

Commit 1980d6a

Browse files
committed
Fix circular dependencies
1 parent 4862ac5 commit 1980d6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/auth-module/auth-module.actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ eslint
33
@typescript-eslint/explicit-function-return-type: 0,
44
@typescript-eslint/no-explicit-any: 0
55
*/
6-
import { models } from '../index'
6+
import { globalModels as models } from '../service-module/global-models'
77

88
export default function makeAuthActions(feathersClient) {
99
return {

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
get as _get
1616
} from 'lodash'
1717
import ObjectID from 'bson-objectid'
18-
import { models } from './index'
18+
import { globalModels as models } from './service-module/global-models'
1919
import stringify from 'fast-json-stable-stringify'
2020

2121
export function stripSlashes(location: string) {

0 commit comments

Comments
 (0)