mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Fixing rollback
This commit is contained in:
parent
d1fb726b7a
commit
8d32873f02
@ -170,7 +170,9 @@ func UpdateAccountEggs(uuid []byte, eggs []defs.EggData) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer tx.Rollback()
|
||||
|
||||
defer tx.Rollback()
|
||||
|
||||
for _, egg := range eggs {
|
||||
// TODO: find a fix to enforce encoding from body to EggData only if
|
||||
// it respects the EggData struct so we can get rid of the test
|
||||
|
Loading…
x
Reference in New Issue
Block a user