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

Readme: usage is wrong #7

Open
mpachas opened this issue Nov 11, 2020 · 1 comment
Open

Readme: usage is wrong #7

mpachas opened this issue Nov 11, 2020 · 1 comment

Comments

@mpachas
Copy link

mpachas commented Nov 11, 2020

It says:
const romcalMiddleware = require('romcal-api').expressMiddleware(romcalConfig);
but it should be:
const romcalMiddleware = require('romcal-api').romcalExpressMiddleware(romcalConfig);

@emagnier
Copy link
Collaborator

Good point. Thank you for your feedback. This project is currently on standby (for lack of time), and may only evolve when the next major version of romcal will be released.

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

No branches or pull requests

2 participants