Hopefully last fix
This commit is contained in:
parent
2bdd433a17
commit
7b5ec2211e
|
@ -11,7 +11,7 @@ class VideoController {
|
||||||
$item = $api->getVideoByID($video_id);
|
$item = $api->getVideoByID($video_id);
|
||||||
if ($item->meta->success) {
|
if ($item->meta->success) {
|
||||||
$latte = Misc::latte();
|
$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 {
|
} else {
|
||||||
ErrorHandler::show($item->meta);
|
ErrorHandler::show($item->meta);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
namespace App\Helpers;
|
namespace App\Helpers;
|
||||||
|
|
||||||
use \FeedWriter\RSS2;
|
use \FeedWriter\RSS2;
|
||||||
use TikScraper\Download;
|
use \TikScraper\Download;
|
||||||
|
|
||||||
class RSS {
|
class RSS {
|
||||||
static public function build(string $endpoint, string $title, string $description, array $items): string {
|
static public function build(string $endpoint, string $title, string $description, array $items): string {
|
||||||
|
|
Loading…
Reference in a new issue