mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 20:28:40 -05:00
build(deps): update dependencies and update relevant files
This commit is contained in:
@@ -65,7 +65,7 @@ Error.getInitialProps = async ({ res, err }): Promise<ErrorProps> => {
|
||||
// Apologies for how gross ternary is but this is just temporary. Honestly,
|
||||
// blame the nextjs docs
|
||||
let statusCode: Undefinable<number>;
|
||||
if (!!res) {
|
||||
if (res) {
|
||||
statusCode = res.statusCode;
|
||||
} else {
|
||||
statusCode = err ? err.statusCode : undefined;
|
||||
|
||||
Reference in New Issue
Block a user