laniakea v1.0.0 rc1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user