Skip to content

Commit

Permalink
Merge pull request #991 from alphagov/remove-snac-api
Browse files Browse the repository at this point in the history
Rename snac field to gss
  • Loading branch information
KludgeKML authored Nov 30, 2023
2 parents 8bafd79 + 64af752 commit 6467483
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 6467483

Please sign in to comment.