feat: 同步ldap用户消息通知

This commit is contained in:
wangruidong
2024-01-11 19:07:54 +08:00
committed by Bryan
parent 1275087f19
commit e428eb351b
12 changed files with 398 additions and 253 deletions

View File

@@ -137,7 +137,7 @@ class LDAPUserImportAPI(APIView):
return Response({'msg': _('Get ldap users is None')}, status=400)
orgs = self.get_orgs()
errors = LDAPImportUtil().perform_import(users, orgs)
new_users, errors = LDAPImportUtil().perform_import(users, orgs)
if errors:
return Response({'errors': errors}, status=400)