Skip to content

Commit 54253c7

Browse files
authored
Update get-binding-details.js
1 parent 7c1a13e commit 54253c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/cloudmanager/ip-allowlist/get-binding-details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ListIPAllowlistBindingDetails extends BaseCommand {
2626

2727
const result = await this.listIpAllowlists(programId, flags.imsContextName)
2828

29-
const allowList = result.find(allowList => allowList.id === args.ipAllowlistId)
29+
const allowList = result.find(allowList => allowList.id === Number(args.ipAllowlistId))
3030

3131
if (!allowList) {
3232
throw new validationCodes.IP_ALLOWLIST_NOT_FOUND({ messageValues: [args.ipAllowlistId, programId] })

0 commit comments

Comments
 (0)