Refactoring base url #38

This commit is contained in:
Alex
2026-07-26 12:56:32 +03:00
parent a35e1a22ad
commit 4516db5ffd
8 changed files with 35 additions and 11 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ $client = new \BushlanovDev\MaxMessengerBot\Client(
httpClient: $guzzle,
requestFactory: $httpFactory,
streamFactory: $httpFactory,
baseUrl: 'https://platform-api2.max.ru',
baseUrl: BushlanovDev\MaxMessengerBot\Api::API_BASE_URL,
);
$api = new BushlanovDev\MaxMessengerBot\Api(