Skip to content

Conversation

@Gaitholabi
Copy link
Collaborator

On the main helpdesk, the return of default_assigned_to attribute is an array of operators ID. the JSON response includes ids of operators instead of operators object, this PR corrects the type hint.

ERROR: TypeError: Argument 1 passed to SupportPal\\ApiClient\\Normalizer\\ModelNormalizer::applyAttributeAwareTransformations() must be of the type array, string given
...

Copy link
Member

@bytestream bytestream left a comment

Choose a reason for hiding this comment

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

Confirmed by the user. The rest of the properties in the model also look fine.

@bytestream bytestream merged commit f63d333 into master Jan 5, 2021
@bytestream bytestream deleted the incorrect-type-hint-department branch January 5, 2021 21:01
@bytestream
Copy link
Member

🎉 This PR is included in version 1.2.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants