We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a391da commit dfff6b5Copy full SHA for dfff6b5
src/management/identities/identities.service.ts
@@ -207,6 +207,7 @@ export class IdentitiesService extends AbstractServiceSchema {
207
.exec();
208
if (identity) {
209
this.logger.debug(`Fingerprint matched for <${identity._id}> (${fingerprint}).`);
210
+ this._model.findByIdAndUpdate(identity._id, { lastSync: new Date() }).exec();
211
throw new HttpException('Fingerprint matched.', HttpStatus.NOT_MODIFIED);
212
}
213
0 commit comments