mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-09 10:15:44 +02:00
fix create api route
This commit is contained in:
parent
f04b1f4915
commit
617f4b6049
@ -275,7 +275,7 @@ $this->create('news_api_feeds_get_all', '/api/v1-2/feeds')->get()->action(
|
||||
}
|
||||
);
|
||||
|
||||
$this->create('news_api_feeds_create', '/api/v1-2/feeds/{feedId}')->post()->action(
|
||||
$this->create('news_api_feeds_create', '/api/v1-2/feeds')->post()->action(
|
||||
function($params) {
|
||||
return App::main('FeedAPI', 'create', $params, new DIContainer());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user