Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit be23bbc

Browse files
koziodigitalincniftynei
authored andcommitted
changed from empty string to null in case of failure in requests. Consumers of method were expecting null on failure
1 parent a1382b5 commit be23bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zulip/android/networking/ZulipAsyncPushTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected String doInBackground(String... api_path) {
109109
ZLog.logException(e);
110110
this.cancel(true);
111111
}
112-
return "";
112+
return null;
113113
}
114114

115115
@Override

0 commit comments

Comments
 (0)