mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-18 00:22:15 +02:00
fix persistance bugs
This commit is contained in:
+6
-1
@@ -178,7 +178,12 @@ export default class Gist {
|
||||
await this.updateStatus(RepositoryStatus.READY);
|
||||
await AnonymizedGistModel.updateOne(
|
||||
{ _id: this._model._id },
|
||||
{ $set: { anonymizeDate: this._model.anonymizeDate } }
|
||||
{
|
||||
$set: {
|
||||
anonymizeDate: this._model.anonymizeDate,
|
||||
gist: this._model.gist,
|
||||
},
|
||||
}
|
||||
).exec();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user