mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix "Transaction not successfully started".
This commit is contained in:
parent
b064d577a8
commit
d6e998eef7
1 changed files with 2 additions and 0 deletions
|
@ -903,6 +903,8 @@ public class ResponseHelper {
|
|||
|
||||
s.update(video);
|
||||
|
||||
if (!s.getTransaction().isActive())
|
||||
s.getTransaction().begin();
|
||||
s.getTransaction().commit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue