From d34d0d3bf48611f49908dff20eff6aa7d87e1bf8 Mon Sep 17 00:00:00 2001 From: ms0ur1s Date: Wed, 7 Feb 2024 14:48:48 +0000 Subject: [PATCH] Add auth credentials to UserFeedbackRequest type --- src/routes/database.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/routes/database.ts b/src/routes/database.ts index 55dd05a..8b13bb5 100644 --- a/src/routes/database.ts +++ b/src/routes/database.ts @@ -360,6 +360,11 @@ type UserFeedbackRequest = Request & { question3: string; question4: string; }; + auth: { + credentials: { + user_id: number; + }; + }; }; async function userFeedback(