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 <livio.a@gmail.com>
This commit is contained in:
Jonas Dellinger 2023-02-17 14:48:27 +01:00 committed by GitHub
parent 7fc3ecf665
commit 0ca5760557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));