♻️Fix fastify warning with deprecated property "routerMethod" on request
This commit is contained in:
committed by
Anton Shepilov
parent
6f0bfbcd09
commit
999e3087e8
@@ -578,7 +578,7 @@ const getDriveExecutionContext = (
|
||||
user: req.currentUser,
|
||||
company: { id: req.params.company_id },
|
||||
url: req.url,
|
||||
method: req.routerMethod,
|
||||
method: req.routeOptions.method,
|
||||
reqId: req.id,
|
||||
transport: "http",
|
||||
});
|
||||
@@ -592,7 +592,7 @@ function getCompanyExecutionContext(
|
||||
user: request.currentUser,
|
||||
company: { id: request.params.company_id },
|
||||
url: request.url,
|
||||
method: request.routerMethod,
|
||||
method: request.routeOptions.method,
|
||||
reqId: request.id,
|
||||
transport: "http",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user