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

API Cache version changes #89

Open
tomasholderness opened this issue Jun 11, 2018 · 1 comment
Open

API Cache version changes #89

tomasholderness opened this issue Jun 11, 2018 · 1 comment

Comments

@tomasholderness
Copy link
Contributor

When using the latest version of API cache we get internal errors (not from our code) when accessing /reports

TypeError: toggle is not a function
    at shouldCacheResponse (/var/app/current/node_modules/apicache/src/apicache.js:74:20)
    at ServerResponse.res.end (/var/app/current/node_modules/apicache/src/apicache.js:188:11)
    at Array.write (/var/app/current/node_modules/finalhandler/index.js:297:9)
    at listener (/var/app/current/node_modules/on-finished/index.js:169:15)
    at onFinish (/var/app/current/node_modules/on-finished/index.js:100:5)
    at callback (/var/app/current/node_modules/ee-first/index.js:55:10)
    at IncomingMessage.onevent (/var/app/current/node_modules/ee-first/index.js:93:5)
    at emitNone (events.js:106:13)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
@tomasholderness
Copy link
Contributor Author

Rolled back version for now (4347898). Bump this for next major/point release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant