mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
fix permission link
This commit is contained in:
parent
0ffb4ec0dd
commit
dfbf6b8840
2 changed files with 2 additions and 2 deletions
|
@ -481,7 +481,7 @@ class Activity
|
|||
{
|
||||
|
||||
$ret = [
|
||||
'id' => z_root() . '/' . $id,
|
||||
'id' => $id,
|
||||
'type' => $type,
|
||||
'totalItems' => $total,
|
||||
];
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue