Skip to content

Commit 69ed6e4

Browse files
committed
fix for swagger docs
1 parent ae7f428 commit 69ed6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodejs/WebAPI/server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function Server() {
9898
host: `localhost:${port}`,
9999
// Reference the files containing the swagger definitions
100100
apis: [
101-
path.join(__dirname, '..', 'database', 'mongo', 'customerModel.js'),
101+
path.join(__dirname, '..', 'database', config.db.type, 'customerModel.js'),
102102
path.join(__dirname, '..', 'controllers', 'customer.js')
103103
],
104104
produces: ['application/json'],

0 commit comments

Comments
 (0)