Misc tweaks
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/pr-master This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/pr-master This commit looks good
This commit is contained in:
parent
3714a93dcf
commit
9c01f3fbd0
@ -2,12 +2,12 @@ query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
|
||||
findProfileBySlug(slug: $slug) {
|
||||
library {
|
||||
all(mediaType: $type, status: $status) {
|
||||
# pageInfo {
|
||||
# endCursor
|
||||
# hasNextPage
|
||||
# hasPreviousPage
|
||||
# startCursor
|
||||
# }
|
||||
pageInfo {
|
||||
endCursor
|
||||
hasNextPage
|
||||
hasPreviousPage
|
||||
startCursor
|
||||
}
|
||||
totalCount
|
||||
nodes {
|
||||
id
|
||||
|
@ -424,7 +424,14 @@ class Controller {
|
||||
*/
|
||||
protected function redirect(string $url, int $code): void
|
||||
{
|
||||
(new HttpView())->redirect($url, $code)->send();
|
||||
try
|
||||
{
|
||||
(new HttpView())->redirect($url, $code)->send();
|
||||
}
|
||||
catch (\Throwable $e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// End of BaseController.php
|
@ -24,6 +24,12 @@ class Cache extends AbstractType {
|
||||
*/
|
||||
public $driver;
|
||||
|
||||
public $host;
|
||||
|
||||
public $port;
|
||||
|
||||
public $database;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
@ -147,6 +147,7 @@ class HttpView implements ViewInterface{
|
||||
public function redirect(string $url, int $code = 302, array $headers = []): self
|
||||
{
|
||||
$this->response = new Response\RedirectResponse($url, $code, $headers);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user