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

Example doesn't work #6

Closed
rgwch opened this issue Apr 28, 2020 · 4 comments
Closed

Example doesn't work #6

rgwch opened this issue Apr 28, 2020 · 4 comments

Comments

@rgwch
Copy link

rgwch commented Apr 28, 2020

The "Getting Started" Example in the readme file doesn't work ("SolrClient is not a function").

@rgwch
Copy link
Author

rgwch commented Apr 28, 2020

See my Pull request

@sajov
Copy link
Owner

sajov commented Apr 28, 2020

See working example
Model option expect a SolrClient instance
const options = { Model: SolrClient(fetch, solrServer), paginate: {}, events: ['testing'], multi: true }; app.use('gettingstarted', new Service(options));

@sajov sajov closed this as completed Apr 28, 2020
@rgwch
Copy link
Author

rgwch commented Apr 29, 2020

Thanks for quick help! This example worked.

@sajov
Copy link
Owner

sajov commented Apr 29, 2020

Thank you!

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