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

Add has ticket function #12

Merged
merged 9 commits into from
Dec 21, 2021
Merged

Add has ticket function #12

merged 9 commits into from
Dec 21, 2021

Conversation

debiff
Copy link

@debiff debiff commented Dec 21, 2021

This PR expose a new method, hasOpenedTickets, that returns the number of the tickets created by the user.

@debiff debiff requested a review from Undermaken December 21, 2021 18:05
@Override
public void onError(ErrorResponse errorResponse) {
// Handle error
promise.resolve(-1);

Choose a reason for hiding this comment

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

Perhaps we can get a more precise error message from errorResponse?

Copy link
Author

@debiff debiff Dec 21, 2021

Choose a reason for hiding this comment

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

Thank you! Refactored in 8827d2d

@debiff debiff requested a review from pietro909 December 21, 2021 18:43
@Undermaken Undermaken merged commit 946e86f into main Dec 21, 2021
@Undermaken Undermaken deleted the add-has-ticket-function branch December 21, 2021 19:50
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

Successfully merging this pull request may close these issues.

3 participants