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