mirror of https://gitee.com/answerdev/answer.git
Merge branch 'hot-fix/1.1.0' into test
This commit is contained in:
commit
1af37811f6
|
@ -560,6 +560,7 @@ func (as *AnswerService) SearchFormatInfo(ctx context.Context, answers []*entity
|
|||
}
|
||||
|
||||
for _, item := range list {
|
||||
item.ID = uid.EnShortID(item.ID)
|
||||
item.MemberActions = permission.GetAnswerPermission(ctx, req.UserID, item.UserID, req.CanEdit, req.CanDelete)
|
||||
}
|
||||
return list, nil
|
||||
|
|
Loading…
Reference in New Issue