-
Notifications
You must be signed in to change notification settings - Fork 11
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
suggestions function not working #568
Comments
Hi @abiodunt97, thanks for reporting the issue! I see we documented how to integrate place suggestions endpoint, but unfortunately, we still didn't do the implementation on the SDK! I have raised the above to our team and will get back to you once it's implemented. |
@abiodunt97 we just add the method on our latest version! Let me know if we can help further! |
Thanks @lapa182, i've tried to implement it but i'm running into more issues. Here is the error I get:
|
I managed to resolve the above by going into the index.js and changing the Also, in this new version
Please help. |
@lapa182 Any news on this would be much appreciated, thanks. |
Hi @abiodunt97, sorry I was off and wasn't able to help you before! Let me investigate the issue and will come back to you. Regarding Instead of manually updating to |
Hey @abiodunt97, I just investigate the issue and I think it's the issue it's caused by the change you made to node-fetch. Could you please add to your If you are using
If you are using
And them re-install your packages. |
No luck, still getting the same error with the overrides option added, |
Do you mean the ESM error or |
@abiodunt97 we deployed a new version of the library, could you please check if the issue still persists? Could you try deleting your node_modules and reinstalling the packages? |
A huge thank you @lapa182. It now works for me perfectly. Thanks for all your help. |
Referencing the documentation provided here: https://duffel.com/docs/api/places/get-place-suggestions
I implemented a quick function to test the suggestions function.
Duffel Component
Router Component
Error Message
TypeError: Cannot read properties of undefined (reading 'list')
It seems as though the suggestions function does not exist.
Please help.
The text was updated successfully, but these errors were encountered: