ApiTimelineList: Fixes ServerErrorAction
"No matches for action 'ApiTimelineList' with arguments 'format=atom id=1'" for 'api/:user/lists/:id/statuses.:format' URLs
This commit is contained in:
parent
2b93643277
commit
fb03fc073a
@ -1516,6 +1516,11 @@ class ApiAction extends Action
|
||||
$aargs['id'] = $id;
|
||||
}
|
||||
|
||||
$user = $this->arg('user');
|
||||
if (!empty($user)) {
|
||||
$aargs['user'] = $user;
|
||||
}
|
||||
|
||||
$tag = $this->arg('tag');
|
||||
if (!empty($tag)) {
|
||||
$aargs['tag'] = $tag;
|
||||
|
Loading…
Reference in New Issue
Block a user