mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Change new_remote
to newRemote
This commit is contained in:
parent
8005ebf5d0
commit
007dfe1420
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ public abstract class Request<T extends Result> {
|
|||
JsonObject json = Instance.gson.fromJson(httpCause.getContent(), JsonObject.class);
|
||||
String message = json.get("message").getAsString();
|
||||
String newRemote;
|
||||
if (json.has("new_remote")) {
|
||||
newRemote = json.get("new_remote").getAsString();
|
||||
if (json.has("newRemote")) {
|
||||
newRemote = json.get("newRemote").getAsString();
|
||||
} else {
|
||||
newRemote = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue