docs: add project brief and fix request route types
This commit is contained in:
@@ -116,7 +116,7 @@ router.get("/requests/:id", (req: Request, res: Response): void => {
|
||||
|
||||
// ─── Helper: find & update ────────────────────────────────────────────────────
|
||||
function findAndUpdate(
|
||||
id: string,
|
||||
id: string | string[],
|
||||
updater: (r: DonationRequest) => void,
|
||||
res: Response
|
||||
): void {
|
||||
|
||||
Reference in New Issue
Block a user