This commit is contained in:
2026-02-12 14:01:43 +03:00
parent e5a3b6253d
commit ee6729e12a
8 changed files with 36 additions and 48 deletions

View File

@@ -122,5 +122,5 @@ func (rep *RPRepository) GetChatScenariosIDs(userId, waifuId int) []int {
return []int{0}
}
ids := strings.Split(res.Val(), ",")
return utils.Map(utils.StringToInt, ids)
return utils.Map(ids, utils.StringToInt)
}