chore: Remove unneccesary extra typing.

I'm Greyson and I disagree with this message. Oh well

Co-authored-by: dev <hi@dessa.dev>
This commit is contained in:
greysoh 2024-06-17 21:30:21 -04:00
parent 3806ce92cb
commit 3986649919
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571

View file

@ -33,10 +33,10 @@ import { backendInit } from "./libs/backendInit.js";
const prisma = new PrismaClient();
const isSignupEnabled: boolean = Boolean(process.env.IS_SIGNUP_ENABLED);
const unsafeAdminSignup: boolean = Boolean(process.env.UNSAFE_ADMIN_SIGNUP);
const isSignupEnabled = Boolean(process.env.IS_SIGNUP_ENABLED);
const unsafeAdminSignup = Boolean(process.env.UNSAFE_ADMIN_SIGNUP);
const noUsersCheck: boolean = (await prisma.user.count()) == 0;
const noUsersCheck = (await prisma.user.count()) == 0;
if (unsafeAdminSignup) {
console.error(