fix: tag query condition is incorrect

This commit is contained in:
LinkinStar 2022-11-25 16:49:53 +08:00
parent 594f57112e
commit ceb0ee48c6
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ func (ts *TagService) UpdateTagSynonym(ctx context.Context, req *schema.UpdateTa
func (ts *TagService) GetTagWithPage(ctx context.Context, req *schema.GetTagWithPageReq) (pageModel *pager.PageModel, err error) {
tag := &entity.Tag{}
_ = copier.Copy(tag, req)
tag.UserID = ""
page := req.Page
pageSize := req.PageSize