Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: responseTransformer type is getting passed as undefined for cache response handler #529

Closed
VisargD opened this issue Aug 20, 2024 · 0 comments · Fixed by #527
Closed
Assignees
Labels
bug Something isn't working triage

Comments

@VisargD
Copy link
Collaborator

VisargD commented Aug 20, 2024

if (!!cacheResponse) {
return createResponse(cacheResponse, undefined, true);
}

Instead of passing undefined, fn should be passed so that responseHandler can use it to determine the final response format. This got changed recently in the plugins release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant