We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b3db4d commit efef7b1Copy full SHA for efef7b1
src/management/identities/identities.service.ts
@@ -95,7 +95,9 @@ export class IdentitiesService extends AbstractServiceSchema {
95
if (update.state === IdentityState.TO_COMPLETE) {
96
update = { ...update, state: IdentityState.TO_VALIDATE };
97
}
98
- console.log(update);
+ if (update.state === IdentityState.SYNCED) {
99
+ update = { ...update, state: IdentityState.TO_VALIDATE };
100
+ }
101
//update.state = IdentityState.TO_VALIDATE;
102
const updated = await super.update(_id, update, options);
103
//TODO: add backends service logic here (TO_SYNC)
0 commit comments