Skip to content

Commit 4e18f7e

Browse files
committed
Added url back into firestack storage android
1 parent c82d9be commit 4e18f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: android/src/main/java/io/fullstack/firestack/FirestackStorage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void onSuccess(final StorageMetadata storageMetadata) {
112112
metadata.putDouble("updated_at", storageMetadata.getUpdatedTimeMillis());
113113
metadata.putString("md5hash", storageMetadata.getMd5Hash());
114114
metadata.putString("encoding", storageMetadata.getContentEncoding());
115-
metadata.putString("downloadUrl", storageMetadata.getDownloadUrl().toString());
115+
res.putString("url", storageMetadata.getDownloadUrl().toString());
116116

117117
res.putMap("metadata", metadata);
118118
callback.invoke(null, res);

0 commit comments

Comments
 (0)