mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
fix: return method instead of throwing a 404 when submitting a post
fixes #550
This commit is contained in:
parent
7287e603e2
commit
44ad651176
@ -53,7 +53,9 @@ class PostController extends FediversePostController
|
||||
$this->actor = $this->podcast->actor;
|
||||
|
||||
if (count($params) <= 1) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
unset($params[0]);
|
||||
|
||||
return $this->{$method}(...$params);
|
||||
}
|
||||
|
||||
if (
|
||||
|
Loading…
x
Reference in New Issue
Block a user