You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnres.json({message: 'Dry run complete',count: tickets.length});
1313
+
}
1314
+
1315
+
letsentCount=0;
1316
+
1317
+
// Process certificates
1318
+
for(constticketoftickets){
1319
+
constregistration=ticket.order.registration;
1320
+
// Use registration name if available, else fallback (schema says userEmail on registration, name might be in User model if we linked it, but registration has userEmail. Let's assume we need name.)
1321
+
// Registration model doesn't have name field in the snippet I saw earlier?
1322
+
// Wait, let me check schema again. Registration has `userEmail`. User model has `name`.
1323
+
// But Registration doesn't link to User directly?
1324
+
// "userEmail" map "user_email". "User" model has "email" @unique.
0 commit comments