mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-24 06:14:04 +08:00
chore: fix typo [skip ci]
This commit is contained in:
parent
f9e067abec
commit
62bb09300d
@ -74,7 +74,7 @@ func SearchNode(req model.SearchReq, useFullText bool) ([]model.SearchNode, int6
|
||||
}
|
||||
var count int64
|
||||
if err := searchDB.Count(&count).Error; err != nil {
|
||||
return nil, 0, errors.Wrapf(err, "failed get users count")
|
||||
return nil, 0, errors.Wrapf(err, "failed get search items count")
|
||||
}
|
||||
var files []model.SearchNode
|
||||
if err := searchDB.Offset((req.Page - 1) * req.PerPage).Limit(req.PerPage).Find(&files).Error; err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user