Skip to content

Commit 2c5e4e7

Browse files
authored
Apply suggestions from code review
1 parent a124519 commit 2c5e4e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/document-picker/android/src/main/java/com/reactnativedocumentpicker/RNDocumentPickerModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ class RNDocumentPickerModule(reactContext: ReactApplicationContext) :
218218
)
219219
// TODO clarify if this should be done
220220
// pickedFilesUriMap.remove(uriString)
221-
result.putString("bookmarkStatus", "success")
221+
result.putString("status", "success")
222222
} catch (e: Exception) {
223-
result.putString("bookmarkStatus", "error")
223+
result.putString("status", "error")
224224
result.putString("errorMessage", e.message ?: "Unknown error")
225225
}
226226
results.pushMap(result)

0 commit comments

Comments
 (0)