Hopefully last fix

This commit is contained in:
Pablo Ferreiro 2022-03-11 23:37:12 +01:00
parent 2bdd433a17
commit 7b5ec2211e
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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 {