mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 09:25:47 +01:00
💄 Prettier codebase
This commit is contained in:
@@ -48,7 +48,7 @@ const shouldRedirectToOnboard = async (): Promise<boolean> => {
|
||||
const cacheAndGetUserCount = async () => {
|
||||
cachedUserCount = await client.user.count.query();
|
||||
return cachedUserCount === 0;
|
||||
}
|
||||
};
|
||||
|
||||
if (!env.DATABASE_URL?.startsWith('file:')) {
|
||||
return await cacheAndGetUserCount();
|
||||
|
||||
Reference in New Issue
Block a user