Don't send token if null
This commit is contained in:
@ -90,6 +90,7 @@ public class JSONRPC2Interface {
|
||||
throw new UnrecoverableFailedRequestException(); // Max retries reached. Throw exception.
|
||||
}
|
||||
HashMap outParams = (HashMap) req.getParams();
|
||||
if (token != null)
|
||||
outParams.put("Token", token); // Add authentication token
|
||||
req.setParams(outParams);
|
||||
|
||||
|
Reference in New Issue
Block a user