rss-bridge/actions/HealthAction.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
351 B
PHP
Raw Normal View History

2023-07-05 06:41:20 +03:00
<?php
declare(strict_types=1);
class HealthAction implements ActionInterface
{
2024-08-07 01:21:06 +03:00
public function __invoke(Request $request): Response
2023-07-05 06:41:20 +03:00
{
$response = [
'code' => 200,
'message' => 'all is good',
];
return new Response(Json::encode($response), 200, ['content-type' => 'application/json']);
}
}