fix(dashboard): Align casing of fields in reset password event (#10313)
* fix(dashboard): Align casing of fields in reset password event * update changeset
This commit is contained in:
committed by
GitHub
parent
00d0c927dd
commit
030ee87150
@@ -57,10 +57,18 @@ export const generateResetPasswordTokenWorkflow = createWorkflow(
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
emitEventStep({
|
||||
eventName: AuthWorkflowEvents.PASSWORD_RESET,
|
||||
data: { entity_id: input.entityId, actorType: input.actorType, token },
|
||||
data: {
|
||||
entity_id: input.entityId,
|
||||
/**
|
||||
* Use `actor_type` instead. Will be removed in a future version.
|
||||
* @deprecated
|
||||
*/
|
||||
actorType: input.actorType,
|
||||
actor_type: input.actorType,
|
||||
token,
|
||||
},
|
||||
})
|
||||
|
||||
return new WorkflowResponse(token)
|
||||
|
||||
Reference in New Issue
Block a user