crisp-im / crisp-im/php-crisp-api
CrispClient->websiteConversations->updateMeta() returns an empty array?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 59
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
While in the process of trying to work out how to assign a user while creating a new conversation (but before the message is sent), I discovered that updateMeta() returns an empty array:
array(0) {
}
I believe it should return something similar to this, as the docs suggest? (https://docs.crisp.chat/references/rest-api/v1/#update-conversation-metas)
{
"error": false,
"reason": "updated",
"data": {}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with CrispClient->websiteConversations->updateMeta() and compare its return value with the linked Update Conversation Metas REST API documentation. Verify the response shape against the documented example; done means the method returns the expected response instead of an empty array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100