diff --git a/src/Skizu/SimpleAPI/RegisterAPI.php b/src/Skizu/SimpleAPI/RegisterAPI.php index b89bb3e..f51c3ea 100644 --- a/src/Skizu/SimpleAPI/RegisterAPI.php +++ b/src/Skizu/SimpleAPI/RegisterAPI.php @@ -75,9 +75,7 @@ public function __construct($api, $auth = false) public function action($action) { - $this->api_url .= $action; - - return $this; + return $this->api_url . $action; } public function lookup($search = null, $method = 'GET') @@ -169,4 +167,4 @@ private function queries() { return Cache::get($this->queries_key, 0); } -} \ No newline at end of file +}