Skip to content

Commit

Permalink
fix bug in HTTP fixes (confirmed working)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Jan 2, 2018
1 parent 07b69b9 commit b10ff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void updateTemperature(uint8_t* deviceId, float temp) {
if (settings.sensorPaths.count(strDeviceId) > 0) {
HTTPClient http;

String sensorPath = settings.sensorPaths[deviceName];
String sensorPath = settings.sensorPaths[strDeviceId];
time_t now = timestamp();
String url = String(settings.gatewayServer) + sensorPath;

Expand Down

0 comments on commit b10ff4f

Please sign in to comment.