Update db/savedata.go

Co-authored-by: Krystian Chmura <11900380+slsyy@users.noreply.github.com>
pull/13/head
Gamray 2024-05-13 21:02:27 +02:00 committed by GitHub
parent 733e01ec16
commit d1fb726b7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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