Skip to content

Commit

Permalink
Rename snac field to gss
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Nov 29, 2023
1 parent de86055 commit 64af752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/place.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def override_lat_lng?
end

def api_safe_hash
serializable_hash(except: %i[id gss]).merge("location" => location_to_hash, "snac" => gss)
serializable_hash(except: :id).merge("location" => location_to_hash)
end

def location_to_hash
Expand Down

0 comments on commit 64af752

Please sign in to comment.