fix permission link

This commit is contained in:
Mike Macgirvin 2024-04-27 12:04:30 +10:00
parent 0ffb4ec0dd
commit dfbf6b8840
2 changed files with 2 additions and 2 deletions

View file

@ -481,7 +481,7 @@ class Activity
{
$ret = [
'id' => z_root() . '/' . $id,
'id' => $id,
'type' => $type,
'totalItems' => $total,
];

View file

@ -96,7 +96,7 @@ class Album extends Controller
}
}
$obj = Activity::encode_simple_collection($contents, App::$query_string, 'Collection', count($contents), ['collectionOf' => 'Image']);
$obj = Activity::encode_simple_collection($contents, z_root() . '/' . App::$query_string, 'Collection', count($contents), ['collectionOf' => 'Image']);
as_return_and_die($obj, $channel);
}
}