Skip to content

Commit 14f14c7

Browse files
committed
fix(iam): correct MissingContextValues mapping in simulatePrincipalPolicy
1 parent d2cb4af commit 14f14c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/api/tools/iam/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export async function simulatePrincipalPolicy(
441441
statementId: s.StatementId ?? '',
442442
sourcePolicyId: s.SourcePolicyId ?? '',
443443
})),
444-
missingContextValues: (r.MissingContextValues ?? []).map((v) => v.ContextKeyName ?? ''),
444+
missingContextValues: (r.MissingContextValues ?? []).map((v) => String(v)),
445445
}))
446446

447447
return {

0 commit comments

Comments
 (0)