Skip to content

Commit

Permalink
&
Browse files Browse the repository at this point in the history
  • Loading branch information
ETLaurent committed Aug 29, 2023
1 parent 017873a commit 434a51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apiRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = self => {
// option in their module configuration
function searchRelationships(obj) {
const shouldRecurse = recursions <= maxRecursions;
const shouldInclude = self.apos.modules[obj.withType] &
const shouldInclude = self.apos.modules[obj.withType] &&
self.apos.modules[obj.withType].options.export !== false;

if (obj.type === 'relationship') {
Expand Down

0 comments on commit 434a51a

Please sign in to comment.