Skip to content

Commit 197be68

Browse files
Robin BuschmannRobin Buschmann
authored andcommitted
path fixed
1 parent 6d998c3 commit 197be68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/SequelizeService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class SequelizeService {
150150
const modelName = path.basename(file, '.js');
151151

152152
// use require main to require from root
153-
return require.main.require('./' + fullPath)[modelName];
153+
return require.main.require(fullPath)[modelName];
154154
})
155155
;
156156

0 commit comments

Comments
 (0)