database changes

This commit is contained in:
2026-02-12 15:09:06 +03:00
parent c5448b14f6
commit 022cf4ba06
18 changed files with 202 additions and 223 deletions

View File

@@ -100,7 +100,7 @@ func passiveIncome(b *laniakea.Bot) error {
user.BtcIncome = user.BtcIncome.Add(btcIncome)
user.IncomeTime = time.Now()
_, err = userRep.Update(user)
_, err = userRep.Update(&user)
if err != nil {
b.Logger().Error(err)
continue