Use post-type for the item container

This commit is contained in:
Michael 2021-04-01 04:58:53 +00:00
commit 9072107b83
4 changed files with 6 additions and 6 deletions

View file

@ -784,7 +784,7 @@ function photos_post(App $a)
$arr['guid'] = System::createUUID();
$arr['uid'] = $page_owner_uid;
$arr['uri'] = $uri;
$arr['type'] = 'photo';
$arr['post-type'] = Item::PT_IMAGE;
$arr['wall'] = 1;
$arr['resource-id'] = $resource_id;
$arr['contact-id'] = $owner_record['id'];