diff --git a/app/controllers/api/v2/transactions_controller.rb b/app/controllers/api/v2/transactions_controller.rb index 756c3faf8..b54e166fd 100644 --- a/app/controllers/api/v2/transactions_controller.rb +++ b/app/controllers/api/v2/transactions_controller.rb @@ -3,8 +3,8 @@ module V2 class TransactionsController < BaseController before_action :find_transaction, only: [:raw, :details] def raw - if stale?(etag: @transaction.tx_hash, public: true) - expires_in 1.day + if stale?(@transaction) + expires_in 1.day, public: true render json: @transaction.to_raw end end