Skip to content

Commit

Permalink
fix: minor fix to hooks.server.ts (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSehrawat authored Jun 7, 2024
1 parent 64a0874 commit 8edb0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const onboarding: Handle = async ({ event, resolve }) => {
if (!data.success || !data.data) {
error(500, 'API Error');
}
const toCheck = ['scraping', 'realdebrid', 'symlinklibrary', 'plexlibrary'];
const toCheck = ['scraping', 'symlink', 'plexlibrary'];
const allServicesTrue: boolean = toCheck.every((service) => data.data[service] === true);
if (!allServicesTrue) {
redirect(302, '/onboarding');
Expand Down

0 comments on commit 8edb0ce

Please sign in to comment.