Skip to content

Commit

Permalink
Remove perform update unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed Jun 19, 2019
1 parent e884672 commit d7f69f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bothub/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,6 @@ class RepositoryExampleViewSet(
RepositoryExamplePermission,
]

def perform_update(self, serializer):
serializer.save()

def perform_destroy(self, obj):
if obj.deleted_in:
raise APIException(_('Example already deleted'))
Expand Down

0 comments on commit d7f69f0

Please sign in to comment.