Skip to content
Snippets Groups Projects

Adjust variable

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -310,7 +310,7 @@ class HootsuitePostManager implements HootsuitePostManagerInterface {
'sizeBytes' => filesize($image->getFileUri()),
];
$response = $this->hootsuiteClient->connect('post', $this->config->get('url_post_media_endpoint'), NULL, $body);
if (empty($result)) {
if (empty($response)) {
return FALSE;
}
$data = Json::decode($response);
Loading