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
Browse filesBrowse the repository at this point in the historyBrowse files
QuantCode Agent
committed
fix: repair failing tests across api and shared packages
- Implement paginate() in shared (was a throwing stub): correct 1-indexed
page slicing, total/totalPages math, empty-array and out-of-range handling
- Rename User.userName -> username in shared types for cross-package consistency
- Import missing badRequest helper in users route (fixed runtime ReferenceError)
- Fix auth middleware to treat POST /users as public and normalise HTTP method
case; fail closed when API_TOKEN is unset instead of using a default token
- Point tsconfig types at already-present bun-types to clear type errors
No test files or dependencies were modified.
0 commit comments