chore(post.html): drop post links to mastodon
This commit is contained in:
parent
c40dcbac2b
commit
6936a96053
5 changed files with 1 additions and 25 deletions
|
@ -50,9 +50,7 @@ abstract class ApiHandler
|
|||
],
|
||||
];
|
||||
|
||||
if (in_array($method, ["POST", "PATCH"]) && $body) {
|
||||
$options["json"] = $body;
|
||||
}
|
||||
if ($method === "POST" && $body) $options["json"] = $body;
|
||||
|
||||
$response = (new Client())->request($method, $url, $options);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue