fix maintenance mode and assigning policy via agent context menu not saving
@@ -172,6 +172,8 @@ class GetUpdateDeleteAgent(APIView):
class Meta:
model = Agent
fields = [
+ "maintenance_mode", # TODO separate this
+ "policy", # TODO separate this
"monitoring_type",
"description",
"overdue_email_alert",
