Skip to content

Commit

Permalink
fix:add LdapUpsertAsync SaveChangesAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
duiapro committed Mar 19, 2024
1 parent 96b8a26 commit 4d5b224
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 4d5b224

Please sign in to comment.