mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00: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);
|
||||
|
||||
if (!s.getTransaction().isActive())
|
||||
s.getTransaction().begin();
|
||||
s.getTransaction().commit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user