You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a logic missing in adapter cfbenchmarks's crypto-lwba.ts. When I set API_SECONDARY=false, the code here has no way to generate a proper index to req.requestContext.data.index.
I apologize if my issue may potentially cause inconvenience, as I am not entirely certain if it is the exact problem.
Thanks.
export const lwbaReqTransformer = (req: AdapterRequest<typeof inputParameters.validated>): void => {
additionalInputValidation(req.requestContext.data)
if (!req.requestContext.data.index) {
req.requestContext.data.index = getSecondaryId(
req.requestContext.data.base as string,
req.requestContext.data.quote as string,
)
}
// Clear base quote to ensure an exact match in the cache with index
delete req.requestContext.data.base
delete req.requestContext.data.quote
}
The text was updated successfully, but these errors were encountered:
Description
There is a logic missing in adapter cfbenchmarks's crypto-lwba.ts. When I set
API_SECONDARY=false,
the code here has no way to generate a proper index toreq.requestContext.data.index
.I apologize if my issue may potentially cause inconvenience, as I am not entirely certain if it is the exact problem.
Thanks.
The text was updated successfully, but these errors were encountered: