1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:18:58 +01:00

Change API endpoint

This commit is contained in:
Daniil Gentili 2024-06-09 19:38:16 +02:00
parent 750369d9be
commit 3b578f225a

View File

@ -168,7 +168,7 @@ class RPCErrorException extends \Exception
$res = json_decode(
(
HttpClientBuilder::buildDefault()
->request(new Request('https://rpc.pwrtelegram.xyz/?method='.$method.'&code='.$code.'&error='.$error))
->request(new Request('https://report-rpc-error.madelineproto.xyz/?method='.$method.'&code='.$code.'&error='.$error))
)->getBody()->buffer(),
true,
);