mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
fix: rename podcast name to podcast handle to clarify field usage
- podcast name was too vague and didn't come clearly for users: handle is more relevant - update package.json dependencies and remove unnused packages closes #126
This commit is contained in:
parent
3a0a76d705
commit
9dd4c7741e
75 changed files with 14944 additions and 13691 deletions
|
|
@ -20,11 +20,11 @@ use Opawg\UserAgentsPhp\UserAgentsRSS;
|
|||
|
||||
class FeedController extends Controller
|
||||
{
|
||||
public function index(string $podcastName): ResponseInterface
|
||||
public function index(string $podcastHandle): ResponseInterface
|
||||
{
|
||||
helper('rss');
|
||||
|
||||
$podcast = (new PodcastModel())->where('name', $podcastName)
|
||||
$podcast = (new PodcastModel())->where('handle', $podcastHandle)
|
||||
->first();
|
||||
if (! $podcast) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue