From 64af7524055f040d5d6b8c187ee7a767412dd1ee Mon Sep 17 00:00:00 2001 From: Keith Lawrence Date: Wed, 29 Nov 2023 16:55:42 +0000 Subject: [PATCH] Rename snac field to gss --- app/models/place.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/place.rb b/app/models/place.rb index bf0ecf77..bd7b6c97 100644 --- a/app/models/place.rb +++ b/app/models/place.rb @@ -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