Skip to content

Commit

Permalink
Fix API for exec requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Sangoi committed Jul 24, 2014
1 parent 86d301c commit a82cfa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws S
// /clients/endPoint/LWRequest : do LightWeight M2M execute request on a given client.
try {
RequestInfo requestInfo = new RequestInfo(path);
Client client = this.clientRegistry.get(path[1]);
Client client = this.clientRegistry.get(requestInfo.endpoint);
if (client != null) {
ClientResponse cResponse = this.execRequest(client, requestInfo, resp);
processDeviceResponse(resp, cResponse);
Expand Down

0 comments on commit a82cfa1

Please sign in to comment.