Compare commits
No commits in common. "ecd3ea96b1a85ca3b2f18fbd1a9520f9be9e3004" and "818e021761abc546c3cfd9f68d6e225a03990c52" have entirely different histories.
ecd3ea96b1
...
818e021761
@ -42,7 +42,7 @@ class ShortRoleNameMutation(QueryABC):
|
||||
)
|
||||
|
||||
result = self._short_role_names.find_short_role_names_by_role_id(short_role_name.role_id)
|
||||
if result.count() > 0:
|
||||
if result is not None:
|
||||
raise ValueError("Short name for role already exists")
|
||||
|
||||
self._short_role_names.add_short_role_name(short_role_name)
|
||||
|
Loading…
Reference in New Issue
Block a user