Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

update invite user

aichy126c777fec109aa
diff --git a/internal/repo/user/user_repo.go b/internal/repo/user/user_repo.go
index 9fd52702..97be3837 100644
--- a/internal/repo/user/user_repo.go
+++ b/internal/repo/user/user_repo.go
@@ -239,6 +239,7 @@ func (ur *userRepo) SearchUserListByName(ctx context.Context, name string) (user
if err != nil {
err = errors.InternalServer(reason.DatabaseError).WithError(err).WithStack()
}
+ tryToDecorateUserListFromUserCenter(ctx, ur.data, userList)
return
}