feat(conversations): align custom attribute response
This commit is contained in:
@@ -746,7 +746,7 @@ func (h *ConversationHandler) UpdateCustomAttributes(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, gin.H{"custom_attributes": conversation.CustomAttributes})
|
||||
c.JSON(http.StatusOK, gin.H{"custom_attributes": jsonObject(conversation.CustomAttributes)})
|
||||
}
|
||||
|
||||
// ListAttachments returns paginated message attachments for a conversation.
|
||||
|
||||
Reference in New Issue
Block a user