From df9e0ef26bb9c3588753fc6cee46091a1291ae94 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Fri, 17 Apr 2020 09:56:53 -0500 Subject: [PATCH] Update PLANT_STAGES --- app/models/celery_script_settings_bag.rb | 2 +- app/serializers/weed_serializer.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/celery_script_settings_bag.rb b/app/models/celery_script_settings_bag.rb index b505ce4b6..704e02c06 100644 --- a/app/models/celery_script_settings_bag.rb +++ b/app/models/celery_script_settings_bag.rb @@ -73,7 +73,7 @@ module CeleryScriptSettingsBag ONLY_ONE_COORD = "Move Absolute does not accept a group of locations " \ "as input. Please change your selection to a single" \ " location." - PLANT_STAGES = %w(planned planted harvested sprouted) + PLANT_STAGES = %w(planned planted harvested sprouted removed) SCOPE_DECLARATIONS = [:variable_declaration, :parameter_declaration] MISC_ENUM_ERR = '"%s" is not valid. Allowed values: %s' MAX_WAIT_MS = 1000 * 60 * 3 # Three Minutes diff --git a/app/serializers/weed_serializer.rb b/app/serializers/weed_serializer.rb index 225374b68..73029892e 100644 --- a/app/serializers/weed_serializer.rb +++ b/app/serializers/weed_serializer.rb @@ -1,3 +1,3 @@ class WeedSerializer < BasePointSerializer - attributes :radius, :discarded_at + attributes :radius, :discarded_at, :plant_stage end