mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-03 06:31:49 -05:00
Typo
This commit is contained in:
@@ -75,7 +75,7 @@ def check_singleton(func):
|
||||
if user in sys_admin or user in sys_audit:
|
||||
if len(args) == 2:
|
||||
return args[1]
|
||||
return Roles.objects.all()
|
||||
return Role.objects.all()
|
||||
return func(*args, **kwargs)
|
||||
return wrapper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user