I am logging the context and I don't see the request object in it from a middleware:
import { loggerInstance } from "@helpers/logger"
export function onRequest(context, next) {
loggerInstance.info(context, "request")
if (context.request.includes === "europages") {
context.locals.brand = "ep"
} else {
context.locals.brand = "wlw"
}
return next()
}