Update src/Model/Item.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2023-03-20 07:04:59 +01:00 committed by GitHub
parent 88e339a43d
commit d8792c9c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1270,7 +1270,7 @@ class Item
Post\ThreadUser::insert($item['uri-id'], $item['uid'], $item);
}
Logger::info('created item', ['post-id' => $post_user_id, 'uid' => $item['uid'], 'network' => $item['network'], 'uri-id' => $item['uri-id'], 'guid' => $item['guid']]);
Logger::notice('created item', ['post-id' => $post_user_id, 'uid' => $item['uid'], 'network' => $item['network'], 'uri-id' => $item['uri-id'], 'guid' => $item['guid']]);
$posted_item = Post::selectFirst(self::ITEM_FIELDLIST, ['post-user-id' => $post_user_id]);
if (!DBA::isResult($posted_item)) {