Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
truongbo17 committed Nov 5, 2022
1 parent 277c45f commit beb038f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TiktokApi.php → src/Tiktok.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Support\Arr;
use Log;

class TiktokApi
class Tiktok
{
/**
* @var string $host
Expand Down
2 changes: 1 addition & 1 deletion src/TiktokApiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function register()
$this->loadHelpers();
// facade
$client = new Client($this->getConfigGuzzle());
$this->app->singleton('tiktok-api', fn() => new TiktokApi(client: $client));
$this->app->singleton('tiktok-api', fn() => new Tiktok(client: $client));

$loader = AliasLoader::getInstance();
$loader->alias('TikTokApi', TiktokApiFacade::class);
Expand Down

0 comments on commit beb038f

Please sign in to comment.