Skip to content

Commit f40591e

Browse files
committed
Merge branch 'main' into transform
2 parents ba722e6 + a986282 commit f40591e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [

src/core/backends/backends.service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)