mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
feat: Update API for contact avatar (#4719)
Added the ability to update the contact's avatar via API and Dashboard. - Contact create and update APIs can now accept avatar attachment parameters [form data]. - Contact create and update endpoints can now accept the avatar_url parameter.[json] - API endpoint to remove a contact avatar. - Updated Contact create/edit UI components with avatar support Fixes: #3428
This commit is contained in:
@@ -95,6 +95,7 @@ Rails.application.routes.draw do
|
||||
member do
|
||||
get :contactable_inboxes
|
||||
post :destroy_custom_attributes
|
||||
delete :avatar
|
||||
end
|
||||
scope module: :contacts do
|
||||
resources :conversations, only: [:index]
|
||||
|
||||
Reference in New Issue
Block a user