mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 19:02:45 +00:00
fix: hot fix, replace repoID by repoId
This commit is contained in:
@@ -485,7 +485,7 @@ export default class Repository {
|
||||
}
|
||||
// remove cache
|
||||
await Promise.all([
|
||||
FileModel.deleteMany({ repoID: this.repoId }).exec(),
|
||||
FileModel.deleteMany({ repoId: this.repoId }).exec(),
|
||||
this.removeCache(),
|
||||
]);
|
||||
console.log(`[RESET] ${this._model.repoId} has been reset`);
|
||||
|
||||
Reference in New Issue
Block a user