feat: fix the matter author bug.

This commit is contained in:
lishuang
2023-08-06 22:31:42 +08:00
parent 3c28140c32
commit 44b811507d
+1 -1
View File
@@ -116,7 +116,7 @@ func (this *MatterController) Detail(writer http.ResponseWriter, request *http.R
if space.Uuid == user.SpaceUuid {
matter.User = user
} else {
matter.User = this.userDao.FindByUuid(user.Uuid)
matter.User = this.userDao.FindByUuid(matter.UserUuid)
}
return this.Success(matter)