Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 15, 2024
1 parent 53d5b20 commit c53c6bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/backend-api7/e2e/support/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ export const createEvent = (
parentName ? `${parentName}.${resourceName}` : resourceName,
),
newValue: resource,
parentId: parentName ? ADCSDK.utils.generateId(parentName) : undefined,
parentId: parentName
? resourceType === ADCSDK.ResourceType.CONSUMER_CREDENTIAL
? parentName
: ADCSDK.utils.generateId(parentName)
: undefined,
});

export const updateEvent = (
Expand Down

0 comments on commit c53c6bf

Please sign in to comment.