revert: "fix: message_type inconsistency across message end points" (#10119)

Reverts chatwoot/chatwoot#10108
This commit is contained in:
Muhsin Keloth
2024-09-16 20:00:11 +05:30
committed by GitHub
parent 05b8486538
commit 5d52e4e0a6
13 changed files with 22 additions and 40 deletions

View File

@@ -54,7 +54,6 @@ RSpec.describe '/api/v1/widget/messages', type: :request do
expect(response).to have_http_status(:success)
json_response = response.parsed_body
expect(json_response['content']).to eq(message_params[:content])
expect(json_response['message_type']).to eq 0
end
it 'does not create the message' do