From 36f944ff4d351099b0d8b70c0fdedcfe05e81f45 Mon Sep 17 00:00:00 2001 From: Sitaram Kalluri Date: Wed, 11 Dec 2024 21:26:31 +0530 Subject: [PATCH] fix: Replace encryptedDefaultSelfEncryptionKey with its constant --- packages/at_auth/lib/src/enroll/at_enrollment_impl.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/at_auth/lib/src/enroll/at_enrollment_impl.dart b/packages/at_auth/lib/src/enroll/at_enrollment_impl.dart index 64897e21..2ba7bf3f 100644 --- a/packages/at_auth/lib/src/enroll/at_enrollment_impl.dart +++ b/packages/at_auth/lib/src/enroll/at_enrollment_impl.dart @@ -138,7 +138,7 @@ class AtEnrollmentImpl implements AtEnrollmentBase { encryptedDefaultEncryptionPrivateKey, AtConstants.apkamEncryptionPrivateKeyIV: base64Encode(encryptionPrivateKeyIV.ivBytes), - 'encryptedDefaultSelfEncryptionKey': + AtConstants.apkamEncryptedDefaultSelfEncryptionKey: encryptedDefaultSelfEncryptionKey, AtConstants.apkamSelfEncryptionKeyIV: base64Encode(selfEncryptionKeyIV.ivBytes)