Merge branch 'hot-fix/1.1.0' into test

This commit is contained in:
aichy126 2023-06-12 14:56:57 +08:00
commit 1af37811f6
1 changed files with 1 additions and 0 deletions

View File

@ -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