Add incredibly simple authentication to the app.

TODO: Manage feeds
This commit is contained in:
Lewis Dale committed 2024-12-31 16:17:13 +00:00
1 parent 49ac6f34bc
commit 2e07b29941
9 files changed
+197 -3

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ class FeedController
{
$this->logger->info("FeedController::get_feed() called");
$feed = $this->feedRepository->find($request->getAttribute('id'));
if (empty($feed)) {
return $response->withStatus(404);
}
$filtered = $feed->get_filtered_feed();
$body = $response->getBody();