fix (voice): Remove transaction.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user