The timer system runs outside the request context and uses its own database connection. This fix allows isParticipantDrafted to accept an optional db parameter so it works in both request handlers and timer contexts. Fixes: DatabaseContext not set error during autopick |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| models | ||
| routes | ||
| test | ||
| utils | ||
| welcome | ||
| app.css | ||
| root.tsx | ||
| routes.ts | ||