fix (voice): Remove transaction.

This commit is contained in:
2023-08-19 15:36:24 +03:00
parent eb1d156e43
commit 0bf9dabba3

View File

@@ -162,7 +162,6 @@ class VoiceSession:
) )
conn = await self.bot.db.get_connection() conn = await self.bot.db.get_connection()
async with conn.transaction():
# Insert an ongoing_session with the correct state, set data # Insert an ongoing_session with the correct state, set data
state = self.state state = self.state
self.data = await self.registry.VoiceSessionsOngoing.create( self.data = await self.registry.VoiceSessionsOngoing.create(