fix(console): Use correct set handlers when updating passwordless message-texts (#5187)

fix(message-texts): Use correct set handlers when updating passwordless message-texts

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Jonas Dellinger
2023-02-17 13:48:27 +00:00
committed by GitHub
co-authored by Livio Spring
parent 7fc3ecf665
commit 0ca5760557
@@ -596,7 +596,7 @@ export class MessageTextsComponent implements OnInit, OnDestroy {
return handler((this.service as ManagementService).setCustomDomainClaimedMessageCustomText(this.updateRequest));
case MESSAGETYPES.PASSWORDLESS:
return handler(
(this.service as ManagementService).getCustomPasswordlessRegistrationMessageText(this.updateRequest),
(this.service as ManagementService).setCustomPasswordlessRegistrationMessageCustomText(this.updateRequest),
);
case MESSAGETYPES.PASSWORDCHANGE:
return handler((this.service as ManagementService).getCustomPasswordChangeMessageText(this.updateRequest));