mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 16:30:29 +05:30
Fix "Transaction not successfully started".
This commit is contained in:
parent
b064d577a8
commit
d6e998eef7
@ -903,6 +903,8 @@ public class ResponseHelper {
|
|||||||
|
|
||||||
s.update(video);
|
s.update(video);
|
||||||
|
|
||||||
|
if (!s.getTransaction().isActive())
|
||||||
|
s.getTransaction().begin();
|
||||||
s.getTransaction().commit();
|
s.getTransaction().commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user