Skip to content

Commit

Permalink
new headers from Govee API 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dutchie027 committed May 11, 2022
1 parent f84e413 commit 7e764a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ public function getLogLocation()
*/
public function setRateVars($header)
{
$this->rate_remain = $header['Rate-Limit-Remaining'];
$this->rate_reset = $header['Rate-Limit-Reset'];
$this->rate_total = $header['Rate-Limit-Total'];
$this->rate_remain = $header['RateLimit-Remaining'];
$this->rate_reset = $header['RateLimit-Reset'];
$this->rate_total = $header['RateLimit-Limit'];
}

/**
Expand Down

0 comments on commit 7e764a2

Please sign in to comment.