Skip to content

Commit 16dbb8a

Browse files
Correction des erreurs de validation dans le service d'identités
1 parent 4e2ecb5 commit 16dbb8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/management/identities/identities.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ export class IdentitiesService extends AbstractServiceSchema {
8686
if (error instanceof ValidationSchemaException) {
8787
this.logger.warn(`${logPrefix} Validation schema error. ${JSON.stringify(error.getValidations())}`);
8888
update.additionalFields.validations = error.getValidations();
89-
this.logger.error(`${logPrefix} Validation schema error. ${JSON.stringify(error.getValidations())}`);
9089
throw new ValidationSchemaException(error.getPayload());
9190
} else {
9291
this.logger.error(`${logPrefix} Unhandled error: ${error.message}`);
9392
throw error; // Rethrow the original error if it's not one of the handled types.
9493
}
9594
}
96-
console.log('update', update);
95+
//update.state = IdentityState.TO_VALIDATE;
9796
const updated = await super.update(_id, update, options);
9897
//TODO: add backends service logic here (TO_SYNC)
9998
return updated;

0 commit comments

Comments
 (0)