From 722ce6c90bfe55417d284b9ea8d093b4f0647414 Mon Sep 17 00:00:00 2001 From: Thource Date: Mon, 23 Dec 2024 15:18:29 +0000 Subject: [PATCH] MAP-1987 - Remove some fields from SAR Locations export --- app/services/subject_access_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/subject_access_request.rb b/app/services/subject_access_request.rb index 2ef330771..b39d2c7df 100644 --- a/app/services/subject_access_request.rb +++ b/app/services/subject_access_request.rb @@ -91,7 +91,7 @@ def serialize_event(event) end def serialize_location(location) - LocationSerializer.new(location).serializable_hash + LocationSerializer.new(location).serializable_hash.except(:disabled_at, :can_upload_documents, :extradition_capable) end def serialize_ptr(ptr)