Skip to content

Commit 64f9443

Browse files
committed
Update passwd.service.ts
1 parent e051804 commit 64f9443

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/management/passwd/passwd.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ export class PasswdService extends AbstractService {
245245
},
246246
);
247247
// on met actif l'identité
248-
identity.dataStatus = DataStatusEnum.ACTIVE;
249-
await identity.save()
248+
await this.identities.model.updateOne({ _id:identity._id},{dataStatus: DataStatusEnum.ACTIVE})
250249
return result;
251250
} catch (e) {
252251
let job = undefined;

0 commit comments

Comments
 (0)