From 7b5ec2211e9ae87518fb591d2b33ec251466f958 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Fri, 11 Mar 2022 23:37:12 +0100 Subject: [PATCH] Hopefully last fix --- app/Controllers/VideoController.php | 2 +- app/Helpers/RSS.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/VideoController.php b/app/Controllers/VideoController.php index ae1a6a6..a68a1ce 100644 --- a/app/Controllers/VideoController.php +++ b/app/Controllers/VideoController.php @@ -11,7 +11,7 @@ class VideoController { $item = $api->getVideoByID($video_id); if ($item->meta->success) { $latte = Misc::latte(); - $latte->render(Misc::getView('video'), new ItemTemplate($item->info->detail->user->nickname, $item)); + $latte->render(Misc::getView('video'), new ItemTemplate($item->info->detail->nickname, $item)); } else { ErrorHandler::show($item->meta); } diff --git a/app/Helpers/RSS.php b/app/Helpers/RSS.php index ee6495c..02e4ef5 100644 --- a/app/Helpers/RSS.php +++ b/app/Helpers/RSS.php @@ -2,7 +2,7 @@ namespace App\Helpers; use \FeedWriter\RSS2; -use TikScraper\Download; +use \TikScraper\Download; class RSS { static public function build(string $endpoint, string $title, string $description, array $items): string {