mirror of
https://github.com/koel/koel
synced 2024-12-22 10:33:16 +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/';
|
||
|
}
|
||
|
}
|