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

Removing responseType for getPinnedMessages() #63

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@bkuhl
Contributor

bkuhl commented Sep 2, 2018

Removing the responseTypes for this so it's consistent with getChannelMessages. This resolves the following error when trying to obtain a list of pinned messages:

[2018-09-02 21:36:02] local.ERROR: There was an error executing the getPinnedMessages command: JsonMapper::map() requires first argument to be an object, array given. {"exception":"[object] (GuzzleHttp\\Command\\Exception\\CommandException(code: 0): There was an error executing the getPinnedMessages command: JsonMapper::map() requires first argument to be an object, array given. at /Users/bkuhl/Personal/myproject/vendor/guzzlehttp/command/src/Exception/CommandException.php:57, InvalidArgumentException(code: 0): JsonMapper::map() requires first argument to be an object, array given. at /Users/bkuhl/Personal/myproject/vendor/netresearch/jsonmapper/src/JsonMapper.php:126)
@bkuhl

This comment has been minimized.

Show comment
Hide comment
@bkuhl

bkuhl Sep 2, 2018

Contributor

Seems this file is auto-generated.

Contributor

bkuhl commented Sep 2, 2018

Seems this file is auto-generated.

@bkuhl bkuhl closed this Sep 2, 2018

@bkuhl bkuhl deleted the bkuhl:patch-1 branch Sep 2, 2018

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