laniakea v1.0.0 rc1

This commit is contained in:
2026-03-17 16:54:18 +03:00
parent 9a34d05572
commit 7943c860ab
12 changed files with 84 additions and 68 deletions

View File

@@ -118,7 +118,7 @@ func waifuSell(ctx *laniakea.MsgContext, db *database.Context) {
}
rep := psql.NewWaifuRepository(db)
waifu, err := rep.GetById(waifuId)
waifu, err := rep.GetById(int64(waifuId))
if err != nil {
ctx.Error(err)
return
@@ -164,7 +164,7 @@ func waifuInfo(ctx *laniakea.MsgContext, db *database.Context) {
}
rep := psql.NewWaifuRepository(db)
waifu, err := rep.GetById(waifuId)
waifu, err := rep.GetById(int64(waifuId))
if err != nil {
ctx.Error(err)
return