php-crisp-api icon indicating copy to clipboard operation
php-crisp-api copied to clipboard

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

Open CaMer0n opened this issue 3 years ago • 0 comments

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

CaMer0n avatar Dec 02 '22 16:12 CaMer0n