Skip to content

Commit 683369e

Browse files
authored
Update SchemasRouter.js
1 parent 6934dad commit 683369e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routers/SchemasRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function classNameMismatchResponse(bodyClass, pathClass) {
1616
function getAllSchemas(req) {
1717
return req.config.database
1818
.loadSchema({ clearCache: true })
19-
.then(schemaController => schemaController.getAllClasses({ clearCache: false }))
19+
.then(schemaController => schemaController.getAllClasses(true))
2020
.then(schemas => ({ response: { results: schemas } }));
2121
}
2222

0 commit comments

Comments
 (0)