|
@@ -423,7 +423,7 @@ namespace GxPress.Api.AdminControllers
|
|
|
[HttpGet("im-user")]
|
|
|
public async Task<bool> SetImUser()
|
|
|
{
|
|
|
- var users = await _userRepository.GetAllAsync(Q.Where(nameof(Entity.User.Id), ">", 0));
|
|
|
+ var users = await _userRepository.GetAllAsync(Q.Where(nameof(Entity.User.Id), "=", ""));
|
|
|
foreach (var item in users)
|
|
|
{
|
|
|
await _userRepository.CreateMiUserAsync(item);
|