Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
remove ensure_one
Browse files Browse the repository at this point in the history
  • Loading branch information
reichie020212 committed Feb 16, 2023
1 parent b5d1a28 commit 8f9c6ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spp_rest_auth_jwt/models/auth_jwt_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ def copy(self, default=None):
else:
default = {"name": name}

self.ensure_one()
new = super().copy(default)

return new

0 comments on commit 8f9c6ba

Please sign in to comment.