fix: Update email message_id parsing order (#3073)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -33,7 +33,7 @@ RSpec.describe 'Conversations API', type: :request do
|
||||
expect(body[:data][:payload].first[:messages].first[:id]).to eq(message.id)
|
||||
end
|
||||
|
||||
it 'returns conversations with empty messages array for conversations with out messages ' do
|
||||
it 'returns conversations with empty messages array for conversations with out messages' do
|
||||
get "/api/v1/accounts/#{account.id}/conversations",
|
||||
headers: agent.create_new_auth_token,
|
||||
as: :json
|
||||
|
||||
Reference in New Issue
Block a user