✨ feat(order): add customer email and optional fields, update order creation flow
- Added `customerEmail` field to Order model. - Made `customerNote` optional in the Order model. - Updated order creation logic to send a tracking email. - Updated order validation to handle optional fields. - Refactored configurations import path from `errors/configs` to `configs`. - Minor modifications across account and order services for consistency.
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import app from "./app";
|
||||
import { configs } from "./app/errors/configs/index";
|
||||
import { configs } from "./app/configs/index";
|
||||
import { prisma } from "./app/lib/prisma";
|
||||
// import "./app/queues/worker";
|
||||
import "./app/queues/worker";
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user