mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Change new_remote to newRemote
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user