diff --git a/app/services/line/send_on_line_service.rb b/app/services/line/send_on_line_service.rb index a5467ebbf..b0b6d828d 100644 --- a/app/services/line/send_on_line_service.rb +++ b/app/services/line/send_on_line_service.rb @@ -73,7 +73,8 @@ class Line::SendOnLineService < Base::SendOnChannelService contents: [ { type: 'text', - text: message.content + text: message.content, + wrap: true }, *input_select_to_button ] diff --git a/spec/services/line/send_on_line_service_spec.rb b/spec/services/line/send_on_line_service_spec.rb index 5352565e7..a7520b8d8 100644 --- a/spec/services/line/send_on_line_service_spec.rb +++ b/spec/services/line/send_on_line_service_spec.rb @@ -112,7 +112,8 @@ describe Line::SendOnLineService do contents: [ { type: 'text', - text: 'test' + text: 'test', + wrap: true }, { type: 'button',