File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " sesame-orchestrator" ,
3- "version" : " 1.2.52 " ,
3+ "version" : " 1.2.53 " ,
44 "description" : " Synchronisation d'Identités Multi-sources" ,
55 "private" : true ,
66 "contributors" : [
Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ export class BackendsService extends AbstractQueueProcessor {
172172 const result = { } ;
173173 for ( const identity of identities ) {
174174 //convertion tableau employeeNumber
175- if ( identity . identity . primaryEmployeeNumber !== '' && identity . identity . primaryEmployeeNumber !== null ) {
176- identity . identity . employeeNumber = identity . identity . primaryEmployeeNumber ;
177- } else {
178- //on prend la premiere pour envoyer une chaine et non un tableau pour la compatibilité ldap
179- identity . identity . inetOrgPerson . employeeNumber = identity . identity . inetOrgPerson . employeeNumber [ 0 ] ;
180- }
175+ // if (identity.identity.primaryEmployeeNumber !== '' && identity.identity.primaryEmployeeNumber !== null) {
176+ // identity.identity.employeeNumber = identity.identity.primaryEmployeeNumber;
177+ // } else {
178+ // //on prend la premiere pour envoyer une chaine et non un tableau pour la compatibilité ldap
179+ // identity.identity.inetOrgPerson.employeeNumber = identity.identity.inetOrgPerson.employeeNumber[0];
180+ // }
181181 try {
182182 this . logger . debug ( `Syncing identity ${ identity . identity . _id } ` ) ;
183183 const [ executedJob ] = await this . executeJob (
You can’t perform that action at this time.
0 commit comments