Skip to content

Commit

Permalink
fix: apisix
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 1, 2024
1 parent 6507dd3 commit eb2ffbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/backend-apisix/src/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export class Fetcher {
return Object.values(ADCSDK.ResourceType)
.filter(
(resourceType) =>
resourceType !== ADCSDK.ResourceType.INTERNAL_STREAM_SERVICE, // ignore internal only types
![
ADCSDK.ResourceType.INTERNAL_STREAM_SERVICE,
ADCSDK.ResourceType.CONSUMER_CREDENTIAL,
].includes(resourceType), // ignore internal only types
)
.map((resourceType): [ADCSDK.ResourceType, string] => [
resourceType,
Expand Down

0 comments on commit eb2ffbb

Please sign in to comment.