mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Merge pull request #1404 from rooftopcellist/application_id_act_stream
Fix app json error
This commit is contained in:
commit
2db44cbf17
@ -4651,7 +4651,7 @@ class ActivityStreamSerializer(BaseSerializer):
|
|||||||
('workflow_job_template_node', ('id', 'unified_job_template_id')),
|
('workflow_job_template_node', ('id', 'unified_job_template_id')),
|
||||||
('label', ('id', 'name', 'organization_id')),
|
('label', ('id', 'name', 'organization_id')),
|
||||||
('notification', ('id', 'status', 'notification_type', 'notification_template_id')),
|
('notification', ('id', 'status', 'notification_type', 'notification_template_id')),
|
||||||
('o_auth2_access_token', ('id', 'user_id', 'description', 'application', 'scope')),
|
('o_auth2_access_token', ('id', 'user_id', 'description', 'application_id', 'scope')),
|
||||||
('o_auth2_application', ('id', 'name', 'description')),
|
('o_auth2_application', ('id', 'name', 'description')),
|
||||||
('credential_type', ('id', 'name', 'description', 'kind', 'managed_by_tower')),
|
('credential_type', ('id', 'name', 'description', 'kind', 'managed_by_tower')),
|
||||||
('ad_hoc_command', ('id', 'name', 'status', 'limit'))
|
('ad_hoc_command', ('id', 'name', 'status', 'limit'))
|
||||||
|
@ -66,7 +66,6 @@ class ActivityStream(models.Model):
|
|||||||
label = models.ManyToManyField("Label", blank=True)
|
label = models.ManyToManyField("Label", blank=True)
|
||||||
role = models.ManyToManyField("Role", blank=True)
|
role = models.ManyToManyField("Role", blank=True)
|
||||||
instance_group = models.ManyToManyField("InstanceGroup", blank=True)
|
instance_group = models.ManyToManyField("InstanceGroup", blank=True)
|
||||||
|
|
||||||
o_auth2_application = models.ManyToManyField("OAuth2Application", blank=True)
|
o_auth2_application = models.ManyToManyField("OAuth2Application", blank=True)
|
||||||
o_auth2_access_token = models.ManyToManyField("OAuth2AccessToken", blank=True)
|
o_auth2_access_token = models.ManyToManyField("OAuth2AccessToken", blank=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user