Bluesky: Functionality moved to the core #1580
2 changed files with 97 additions and 1169 deletions
1264
bluesky/bluesky.php
1264
bluesky/bluesky.php
File diff suppressed because it is too large
Load diff
|
@ -564,7 +564,7 @@ function tumblr_send(array &$b)
|
|||
if ($result->meta->status < 400) {
|
||||
Logger::info('Successfully performed activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response]);
|
||||
if (!$b['deleted'] && !empty($result->response->id_string)) {
|
||||
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['id' => $b['id']]);
|
||||
Item::update(['extid' => 'tumblr::' . $result->response->id_string], ['guid' => $b['guid']]);
|
||||
}
|
||||
} else {
|
||||
Logger::notice('Error while performing activity', ['verb' => $b['verb'], 'deleted' => $b['deleted'], 'meta' => $result->meta, 'response' => $result->response, 'errors' => $result->errors, 'params' => $params]);
|
||||
|
|
Loading…
Reference in a new issue