mirror of
https://github.com/Eleirbag89/MastodonBotPHP
synced 2025-01-04 17:09:21 +01:00
commit
4b0405d4ce
@ -37,7 +37,7 @@
|
|||||||
$reply = curl_exec($ch);
|
$reply = curl_exec($ch);
|
||||||
|
|
||||||
if (!$reply) {
|
if (!$reply) {
|
||||||
return json_encode(['ok'=>false, 'curl_error_code' => curl_errno($ch_status), 'curl_error' => curl_error(ch_status)]);
|
return json_encode(['ok'=>false, 'curl_error_code' => curl_errno($ch), 'curl_error' => curl_error($ch)]);
|
||||||
}
|
}
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user