Add can_control_other_agents to the response hash of type_details.

Akinori MUSHA 10 lat temu
rodzic
commit
69d2273221
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/controllers/agents_controller.rb

+ 1 - 0
app/controllers/agents_controller.rb

@@ -37,6 +37,7 @@ class AgentsController < ApplicationController
37 37
         :default_schedule => @agent.default_schedule,
38 38
         :can_receive_events => @agent.can_receive_events?,
39 39
         :can_create_events => @agent.can_create_events?,
40
+        :can_control_other_agents => @agent.can_control_other_agents?,
40 41
         :options => @agent.default_options,
41 42
         :description_html => @agent.html_description,
42 43
         :form => render_to_string(partial: 'oauth_dropdown')