Skip to content

Commit

Permalink
document inconsistencies at Govee
Browse files Browse the repository at this point in the history
  • Loading branch information
dutchie027 committed May 11, 2022
1 parent 7e764a2 commit 2afd822
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['RateLimit-Remaining'];
$this->rate_reset = $header['RateLimit-Reset'];
$this->rate_total = $header['RateLimit-Limit'];
$this->rate_remain = $header['X-RateLimit-Remaining'];
$this->rate_reset = $header['X-RateLimit-Reset'];
$this->rate_total = $header['X-RateLimit-Limit'];
}

/**
Expand Down

0 comments on commit 2afd822

Please sign in to comment.