crisp-im / php-crisp-api

:elephant: Crisp API PHP Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
56 stars 28 forks source link

CrispClient->websiteConversations->updateMeta() returns an empty array? #37

Open CaMer0n opened 1 year ago

CaMer0n commented 1 year ago

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": {}
 }