Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit ca533f9

Browse files
Update DarkSky.class.nut
1 parent fe27430 commit ca533f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: DarkSky.class.nut

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class DarkSky {
155155
try {
156156
data = http.jsondecode(resp.body);
157157
} catch(exp) {
158-
err = "Unable to decode data received from Forecast.io: " + exp;
158+
err = "Unable to decode data received from Dark Sky: " + exp;
159159
}
160160
}
161161

@@ -192,7 +192,7 @@ class DarkSky {
192192
}
193193

194194
function _getCallCount(resp) {
195-
// Extract daily API request count from Forecast.io response header
195+
// Extract daily API request count from Dark Sky response header
196196
if ("headers" in resp) {
197197
if ("x-forecast-api-calls" in resp.headers) {
198198
local a = resp.headers["x-forecast-api-calls"];

0 commit comments

Comments
 (0)