Skip to content

Commit

Permalink
fix(itam): Add Operating System API v2 field typo
Browse files Browse the repository at this point in the history
ref: #248 #391
  • Loading branch information
jon-nfc committed Nov 27, 2024
1 parent 59f842b commit 89c3fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/itam/serializers/device_operating_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_url(self, obj) -> dict:
if self.context['view'].kwargs.get('device_id'):

return {
'_selfb': obj.get_url( request = self._context['view'].request )
'_self': obj.get_url( request = self._context['view'].request )
}

elif self.context['view'].kwargs.get('operating_system_id'):
Expand Down

0 comments on commit 89c3fee

Please sign in to comment.