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

fix: Filter API error handling and types #141

Closed
wants to merge 4 commits into from

Conversation

johnytiago
Copy link
Contributor

@johnytiago johnytiago commented Dec 15, 2022

According to the available API Spec, the Filter API doesn't expect a user.id, thus the handleFailover method for the Filter API shouldn't either.
Also I've added some relevant missing attributes from the payload, but I wasn't thorough. There's plenty more missing like product, session and authentication_method

@wallin wallin requested a review from bartes December 21, 2022 10:01
Copy link
Contributor

@bartes bartes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @johnytiago. Great pull request!

Yes, it looks like the typings are a bit off.
Let's merge those changes and I will update the rest in the follow-up PR 🚀

Thank you for spotting the problem and providing the fix.

@bartes bartes mentioned this pull request Dec 22, 2022
@bartes
Copy link
Contributor

bartes commented Dec 22, 2022

I'm closing this one. Those commits have been applied in the separate PR 🙇‍♂️

@bartes bartes closed this Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants