From 308c8f29c059dae8e0ed55b63d15f8b7775736bf Mon Sep 17 00:00:00 2001 From: mhochsto <116495532+mhochsto@users.noreply.github.com> Date: Wed, 28 Aug 2024 14:43:26 +0200 Subject: [PATCH] fix: corrected output Path for decryptFileFromURL (android) (#44) --- .../com/evva/xesar/abrevva/reactnative/AbrevvaCryptoModule.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/evva/xesar/abrevva/reactnative/AbrevvaCryptoModule.kt b/android/src/main/java/com/evva/xesar/abrevva/reactnative/AbrevvaCryptoModule.kt index fc07ae8..55dc3f5 100644 --- a/android/src/main/java/com/evva/xesar/abrevva/reactnative/AbrevvaCryptoModule.kt +++ b/android/src/main/java/com/evva/xesar/abrevva/reactnative/AbrevvaCryptoModule.kt @@ -197,7 +197,7 @@ class AbrevvaCryptoModule(reactContext: ReactApplicationContext) : val ctPath = Paths.get(ptPath).parent.toString() + "/blob" try { - writeToFile(ptPath, url) + writeToFile(ctPath, url) } catch (e: Exception) { promise.reject(e) return