diff --git a/src/modules/configuration/otp-verification/data/services/otp-verification.service.ts b/src/modules/configuration/otp-verification/data/services/otp-verification.service.ts index a5b8d7c..87ae630 100644 --- a/src/modules/configuration/otp-verification/data/services/otp-verification.service.ts +++ b/src/modules/configuration/otp-verification/data/services/otp-verification.service.ts @@ -91,7 +91,7 @@ export class OtpVerificationService { } async verifyOTP(payload: OtpVerifyEntity) { - const { otp_code, action_type, target_id, reference } = payload; + const { otp_code, action_type, target_id, reference, source } = payload; const dateNow = this.generateTimestamp(); if (!target_id && !reference) { @@ -107,6 +107,7 @@ export class OtpVerificationService { otp_code, action_type, target_id, + source, is_used: false, is_replaced: false, }, @@ -114,6 +115,7 @@ export class OtpVerificationService { otp_code, action_type, reference, + source, is_used: false, is_replaced: false, },