api/core: mark request as session when bearer token is used

and pass it to match() for future consumption
This commit is contained in:
wukko
2025-05-06 16:16:29 +06:00
parent d0539118ce
commit c5acb45557
2 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ import xiaohongshu from "./services/xiaohongshu.js";
let freebind;
export default async function({ host, patternMatch, params }) {
export default async function({ host, patternMatch, params, isSession }) {
const { url } = params;
assert(url instanceof URL);
let dispatcher, requestIP;