Skip to content

Commit beca061

Browse files
Merge pull request #15 from tobiaskluge/patch-1
Minor issues in code
2 parents b430196 + c6248f9 commit beca061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Please note that you should NOT store users' credentials (which is not secure) a
6868
{
6969
//redirect to Netatmo Authorize URL
7070
$redirect_url = $client->getAuthorizeUrl();
71-
header("HTTP/1.1 ". OAUTH2_HTTTP_FOUND);
71+
header("HTTP/1.1 ". OAUTH2_HTTP_FOUND);
7272
header("Location: ". $redirect_url);
7373
die();
7474
}
@@ -87,7 +87,7 @@ Once an access token has been retrieved, it can be used to retrieved user's devi
8787
$data = $client->getData(NULL, TRUE);
8888
foreach($data['devices'] as $device)
8989
{
90-
echo device['station_name'] . "\n";
90+
echo $device['station_name'] . "\n";
9191
print_r($device['dashboard_data']);
9292
foreach($device['modules'] as $module)
9393
{

0 commit comments

Comments
 (0)