Skip to content

Commit

Permalink
fix when acl allow is null
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Apr 27, 2024
1 parent 00556ce commit 2e4cc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/kong/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function loadGroupsProducer(xfer, destinationUrl, feedPath) {
allPlugins
.filter((p) => p.name == 'acl')
.map((p) => {
return p.config.allow.map((a) => {
p.config.allow?.forEach((a) => {
items.push({ namespace: toNamespace(p.tags), name: a });
});
});
Expand Down

0 comments on commit 2e4cc4c

Please sign in to comment.