From 81b80d9bb73f61718cab87689bada82a4235ec60 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Mon, 29 Sep 2025 00:12:51 +0930 Subject: [PATCH] Update activity_resource.rb --- app/resources/api/v1/activity_resource.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/resources/api/v1/activity_resource.rb b/app/resources/api/v1/activity_resource.rb index 5803a7686..a29b96c08 100644 --- a/app/resources/api/v1/activity_resource.rb +++ b/app/resources/api/v1/activity_resource.rb @@ -7,9 +7,9 @@ module Api @model.owner = context[:current_user] end - has_one :owner, class_name: 'Member' - has_one :garden - has_one :planting + has_one :owner, class_name: 'Member', always_include_linkage_data: true + has_one :garden, always_include_linkage_data: true + has_one :planting, always_include_linkage_data: true attribute :name attribute :description