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: Correct wrong type error when deleteByID() tries to delegate error handling to onResponseFailure #129

Conversation

michaelborn
Copy link
Contributor

This fixes this error message in deleteById() when throwOnError=true (which it is by default):

Invalid call of the function [onResponseFailure], first Argument [response] is of invalid type, Cannot cast Object type [Struct] to a value of type [Hyper.models.HyperResponse]

michaelborn and others added 3 commits June 8, 2023 17:23
…or handling to onResponseFailure

>  Invalid call of the function [onResponseFailure], first Argument [response] is of invalid type, Cannot cast Object type [Struct] to a value of type [Hyper.models.HyperResponse]
@jclausen
Copy link
Contributor

Can you update the changelog too please?

@jclausen jclausen merged commit 4abf876 into coldbox-modules:development Jun 20, 2023
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.

2 participants