fix(news Widget api): readds the removed api call from the news widget because it differs from the getNews api call that is used in the News View

This commit is contained in:
SimonGschnell
2024-12-06 09:59:58 +01:00
parent 0a5c335602
commit 39ffd6bdb9
3 changed files with 27 additions and 16 deletions
@@ -106,7 +106,6 @@ class Cms extends FHCAPI_Controller
$this->terminateWithSuccess($content_id);
}
//todo: there is the method news and getNews but only one should exist
public function news()
{