mirror of
https://github.com/vas3k/TaxHacker.git
synced 2026-01-06 05:30:08 -06:00
ci: fix
This commit is contained in:
@@ -9,6 +9,10 @@ export const SELF_HOSTED_USER = {
|
||||
}
|
||||
|
||||
export const getSelfHostedUser = cache(async () => {
|
||||
if (!process.env.DATABASE_URL) {
|
||||
return null // fix for CI, do not remove
|
||||
}
|
||||
|
||||
return await prisma.user.findFirst({
|
||||
where: { email: SELF_HOSTED_USER.email },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user