master #475
@ -118,7 +118,7 @@ class LevelSeeder(DataSeederABC):
|
||||
__name__,
|
||||
f"Moved {role.name} from {role.position} to {new_position}",
|
||||
)
|
||||
await role.edit(permissions=level.permissions, position=new_position)
|
||||
await role.edit(permissions=Permissions(level.permissions), position=new_position)
|
||||
except Exception as e:
|
||||
self._logger.error(__name__, f"Cannot change position of {role.name}", e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user