Skip to content

Commit cd13403

Browse files
author
Tim Anema
authoredSep 16, 2019
Merge pull request #623 from Shopify/small_compat_fix
Small ruby compat fix
2 parents 52e0dcf + ebd17e0 commit cd13403

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/active_resource/detailed_log_subscriber.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def warn_on_deprecated_header(event)
2727
payload[:response].each do |header_name, header_value|
2828
case header_name.downcase
2929
when 'x-shopify-api-deprecated-reason'
30-
warning_message = <<~MSG
31-
[DEPRECATED] ShopifyAPI made a call to #{payload[:method].upcase} #{payload[:path]}, and this call made
32-
use of a deprecated endpoint, behaviour, or parameter. See #{header_value} for more details.
30+
warning_message = <<-MSG
31+
[DEPRECATED] ShopifyAPI made a call to #{payload[:method].upcase} #{payload[:path]}, and this call made
32+
use of a deprecated endpoint, behaviour, or parameter. See #{header_value} for more details.
3333
MSG
3434

3535
warn warning_message

0 commit comments

Comments
 (0)
Please sign in to comment.