Skip to content

Commit

Permalink
correct api full path
Browse files Browse the repository at this point in the history
  • Loading branch information
joe94 committed Sep 30, 2017
1 parent a822c25 commit c6e5b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tr1d1um/communication.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (tr1 *Tr1SendAndHandle) Send(ch *ConversionHandler, resp http.ResponseWrite
return
}

fullPath := ch.targetURL + baseURI + "/" + ch.serverVersion + "/" + wrpMsg.Destination
fullPath := ch.targetURL + baseURI + "/" + ch.serverVersion + "/device"
requestToServer, err := tr1.NewHTTPRequest(http.MethodPost, fullPath, bytes.NewBuffer(wrpPayload))

if err != nil {
Expand Down

0 comments on commit c6e5b92

Please sign in to comment.