Skip to content

Commit

Permalink
Merge eb1a142 into 675a342
Browse files Browse the repository at this point in the history
  • Loading branch information
zmcNotafraid authored Mar 13, 2024
2 parents 675a342 + eb1a142 commit fa9c345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/api/v1/address_live_cells_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ class AddressLiveCellsController < ApplicationController
before_action :validate_pagination_params, :pagination_params

def show
expires_in 1.minutes, public: true, must_revalidate: true, stale_while_revalidate: 10.seconds

address = Address.find_address!(params[:id])
raise Api::V1::Exceptions::AddressNotFoundError if address.is_a?(NullAddress)

Expand Down

0 comments on commit fa9c345

Please sign in to comment.