mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-02 06:39:34 +02:00
fix persistance bugs
This commit is contained in:
11 files changed
+133
-9
No files matched your search
@@ -192,7 +192,12 @@ export default class PullRequest {
|
||||
await this.updateStatus(RepositoryStatus.READY);
|
||||
await AnonymizedPullRequestModel.updateOne(
|
||||
{ _id: this._model._id },
|
||||
{ $set: { anonymizeDate: this._model.anonymizeDate } }
|
||||
{
|
||||
$set: {
|
||||
anonymizeDate: this._model.anonymizeDate,
|
||||
pullRequest: this._model.pullRequest,
|
||||
},
|
||||
}
|
||||
).exec();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user