This commit is contained in:
Leufolium 2024-08-20 18:15:45 +08:00
parent 36f9cef351
commit 37b42ecc44
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func (m *Mongo) GetZoneVasByIds(ctx context.Context, zids []int64) ([]*dbstruct.
"$in": zids,
},
}
err := col.Find(ctx, query).One(&list)
err := col.Find(ctx, query).All(&list)
if err == qmgo.ErrNoSuchDocuments {
err = nil
return nil, nil