Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
luannsr12 committed Oct 14, 2024
1 parent 6042dfc commit b5c10fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Api Evolution: [Evolution-api](https://doc.evolution-api.com/v2/)

<hr>

SDK version: 2.0.1 <br />
SDK version: 2.0.2 <br />
PHP Version: >= 8.2

## Funções disponíveis
Expand Down
6 changes: 4 additions & 2 deletions src/Api/Evolution/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Device

public static bool $apiKeyAuth = false;

public static function init()
public static function autoload()
{
$endpoint = Api::getEndpoint();
if ($endpoint == NULL || $endpoint == "") {
Expand Down Expand Up @@ -633,4 +633,6 @@ public static function list()

}

}
}

Device::autoload();

0 comments on commit b5c10fb

Please sign in to comment.