Update db/savedata.go
Co-authored-by: Krystian Chmura <11900380+slsyy@users.noreply.github.com>pull/13/head
parent
733e01ec16
commit
d1fb726b7a
|
@ -170,7 +170,7 @@ func UpdateAccountEggs(uuid []byte, eggs []defs.EggData) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer tx.Rollback()
|
||||||
for _, egg := range eggs {
|
for _, egg := range eggs {
|
||||||
// TODO: find a fix to enforce encoding from body to EggData only if
|
// 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
|
// it respects the EggData struct so we can get rid of the test
|
||||||
|
|
Loading…
Reference in New Issue