Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adonese committed Aug 25, 2022
1 parent 7869cdb commit 03bb6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/java/com/tuti/api/TutiApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public Thread sendRequest(RequestMethods method, String URL, Object requestToBeS
Gson gson = getGsonInstance();
RequestBody requestBody = RequestBody.create(gson.toJson(requestToBeSent), JSON);

if (params != null) {
if (params != null && params.length > 1) {
URL += "?uuid="+params[1];
}
Request.Builder requestBuilder = new Request.Builder().url(URL);
Expand Down

0 comments on commit 03bb6a2

Please sign in to comment.