fix discord_role
This commit is contained in:
parent
8ef95ec7e8
commit
dd18be4e7e
|
@ -159,7 +159,7 @@ class Database:
|
||||||
await session.commit()
|
await session.commit()
|
||||||
await self.grant_tab_by_username(user=user)
|
await self.grant_tab_by_username(user=user)
|
||||||
await self.grant_permissions_by_uuid(user=user)
|
await self.grant_permissions_by_uuid(user=user)
|
||||||
await discord_role(user.discord_id)
|
await discord_role(str(user.discord_id))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Ошибка при выполнении запроса:", e)
|
print("Ошибка при выполнении запроса:", e)
|
||||||
await session.rollback()
|
await session.rollback()
|
||||||
|
|
Loading…
Reference in New Issue