diff --git a/api/scripts/create-session.sh b/api/scripts/create-session.sh index 59fd25d67..d24f5a798 100755 --- a/api/scripts/create-session.sh +++ b/api/scripts/create-session.sh @@ -30,4 +30,4 @@ session_name="${1:-$default_session_name}" mkdir -p $sessions_dir touch "$sessions_dir/sess_$session_name" -ls $sessions_dir \ No newline at end of file +ls $sessions_dir diff --git a/api/src/unraid-api/auth/cookie.strategy.ts b/api/src/unraid-api/auth/cookie.strategy.ts index db7c25787..c6051f5d5 100644 --- a/api/src/unraid-api/auth/cookie.strategy.ts +++ b/api/src/unraid-api/auth/cookie.strategy.ts @@ -10,13 +10,11 @@ export class UserCookieStrategy extends PassportStrategy(Strategy, strategyName) static key = strategyName; private readonly logger = new Logger(UserCookieStrategy.name); - constructor( - private readonly authService: AuthService, - ) { + constructor(private readonly authService: AuthService) { super(); } - public validate = async (req: any): Promise => { + public validate = async (req: { cookies: object }): Promise => { return this.authService.validateCookies(req.cookies); }; } diff --git a/web/components/Notifications/OpenButton.vue b/web/components/Notifications/OpenButton.vue deleted file mode 100644 index 3ba12cb0a..000000000 --- a/web/components/Notifications/OpenButton.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/web/components/shadcn/select/SelectContent.vue b/web/components/shadcn/select/SelectContent.vue index cb1fbca97..aa6b024bd 100644 --- a/web/components/shadcn/select/SelectContent.vue +++ b/web/components/shadcn/select/SelectContent.vue @@ -38,7 +38,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)