refactor: migrate authentication system and update Drizzle schema.

This commit is contained in:
2025-11-29 02:26:26 -05:00
parent c88e5d9d82
commit 3ebec7aa4a
36 changed files with 603 additions and 440 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export const invoicesRouter = createTRPCRouter({
});
// Return null if no draft invoice exists
if (!currentInvoice || currentInvoice.status !== "draft") {
if (currentInvoice?.status !== "draft") {
return null;
}