[Update] Condition dao

This commit is contained in:
trunglt251292 2022-08-30 15:15:11 +07:00
parent 0156d2d661
commit 8cdfdcb4e6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
)
// DistinctWithField ...
func (w Warehouse) DistinctWithField(p model.FindWithCondition) ([]interface{}, error) {
func (w Warehouse) DistinctWithField(p model.DistinctWithField) ([]interface{}, error) {
msg, err := natsio.GetServer().Request(subject.Warehouse.Distinct, bsonToBytes(p))
if err != nil {
return nil, err