File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
android/src/main/java/io/fullstack/firestack/storage Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -156,17 +156,17 @@ public void onSuccess(final StorageMetadata storageMetadata) {
156156 callback .invoke (null , data );
157157 }
158158 })
159- .addOnFailureListener (new OnFailureListener () {
160- @ Override
161- public void onFailure (@ NonNull Exception exception ) {
162- final int errorCode = 1 ;
163- WritableMap data = Arguments .createMap ();
164- StorageException storageException = StorageException .fromException (exception );
165- data .putString ("description" , storageException .getMessage ());
166- data .putInt ("code" , errorCode );
167- callback .invoke (makeErrorPayload (errorCode , exception ));
168- }
169- });
159+ .addOnFailureListener (new OnFailureListener () {
160+ @ Override
161+ public void onFailure (@ NonNull Exception exception ) {
162+ final int errorCode = 1 ;
163+ WritableMap data = Arguments .createMap ();
164+ StorageException storageException = StorageException .fromException (exception );
165+ data .putString ("description" , storageException .getMessage ());
166+ data .putInt ("code" , errorCode );
167+ callback .invoke (makeErrorPayload (errorCode , exception ));
168+ }
169+ });
170170 }
171171 }).addOnFailureListener (new OnFailureListener () {
172172 @ Override
You can’t perform that action at this time.
0 commit comments