Skip to content

Commit

Permalink
Add object_id to JobSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Mar 28, 2023
1 parent 1cac9d7 commit e6aaf0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/core/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ class JobSerializer(BaseModelSerializer):
class Meta:
model = Job
fields = [
'id', 'url', 'display', 'status', 'created', 'scheduled', 'interval', 'started', 'completed', 'name',
'object_type', 'user', 'data', 'job_id',
'id', 'url', 'display', 'object_type', 'object_id', 'name', 'status', 'created', 'scheduled', 'interval',
'started', 'completed', 'user', 'data', 'job_id',
]

0 comments on commit e6aaf0f

Please sign in to comment.