authenticated fetch fixes

This commit is contained in:
zotlabs
2019-03-09 12:58:03 -08:00
parent 220d6ed494
commit 51024d3821
3 changed files with 53 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ class Item extends Controller {
$sigdata = HTTPSig::verify(EMPTY_STR);
if($sigdata['portable_id'] && $sigdata['header_valid']) {
$portable_id = $sigdata['portable_id'];
observer_auth($portable_id);
}
$item_normal = " and item.item_hidden = 0 and item.item_type = 0 and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_blocked = 0 ";