Skip to content

Commit a6ef1dd

Browse files
author
Robert Wittman
committed
Fixed incorrect varible
1 parent 1103032 commit a6ef1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Http/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private function handleHttpCode($code)
161161
{
162162
if(!in_array($code, $this->success_codes))
163163
{
164-
switch($rcode)
164+
switch($code)
165165
{
166166
case 401:
167167
$msg = "Invalid API key or wrong password";

0 commit comments

Comments
 (0)