mirror of
https://github.com/koel/koel
synced 2024-12-26 20:43:05 +00:00
19 lines
377 B
PHP
19 lines
377 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Integrations\LemonSqueezy;
|
||
|
|
||
|
use Saloon\Http\Connector;
|
||
|
use Saloon\Traits\Plugins\AcceptsJson;
|
||
|
use Saloon\Traits\Plugins\AlwaysThrowOnErrors;
|
||
|
|
||
|
class LemonSqueezyConnector extends Connector
|
||
|
{
|
||
|
use AcceptsJson;
|
||
|
use AlwaysThrowOnErrors;
|
||
|
|
||
|
public function resolveBaseUrl(): string
|
||
|
{
|
||
|
return 'https://api.lemonsqueezy.com/v1/';
|
||
|
}
|
||
|
}
|