Skip to content

Commit

Permalink
fix: add LdapUpsertAsync SaveChangesAsync (#1268)
Browse files Browse the repository at this point in the history
* feat:修改默认日志级别

* fix:add  LdapUpsertAsync SaveChangesAsync
  • Loading branch information
duiapro authored Mar 19, 2024
1 parent 54b3b8b commit eb3b664
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public async Task LdapUpsertAsync(LdapUpsertCommand ldapUpsertCommand)
await _ldapIdpRepository.UpdateAsync(dbItem);
}

await _unitOfWork.SaveChangesAsync();
var ldapUsers = await ldapProvider.GetAllUserAsync().ToListAsync();
await _ldapDomainService.SyncLdapUserAsync(ldapUsers);
}
Expand Down

0 comments on commit eb3b664

Please sign in to comment.