fix: preserve tracked request typing
This commit is contained in:
parent
43e0696143
commit
4d3fd32f13
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ app.get("/captcha", async (req, res) => {
|
||||||
*/
|
*/
|
||||||
app.get("/captcha/:sessionId", async (req, res) => {
|
app.get("/captcha/:sessionId", async (req, res) => {
|
||||||
const { sessionId } = req.params;
|
const { sessionId } = req.params;
|
||||||
const { reqId } = req as TrackedReq;
|
const { reqId } = req as unknown as TrackedReq;
|
||||||
const t = Date.now();
|
const t = Date.now();
|
||||||
|
|
||||||
const session = getSession(sessionId);
|
const session = getSession(sessionId);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue