From 0ca5760557da20ed803011aad95f7b090c6a8551 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Fri, 17 Feb 2023 14:48:27 +0100 Subject: [PATCH] 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 --- .../modules/policies/message-texts/message-texts.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/app/modules/policies/message-texts/message-texts.component.ts b/console/src/app/modules/policies/message-texts/message-texts.component.ts index 031a67ee5..a2c3fa2f8 100644 --- a/console/src/app/modules/policies/message-texts/message-texts.component.ts +++ b/console/src/app/modules/policies/message-texts/message-texts.component.ts @@ -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));