fix: hot fix, replace repoID by repoId

This commit is contained in:
tdurieux
2024-04-26 12:40:56 +01:00
parent a9fefcc970
commit b0fa5e6689
5 changed files with 7 additions and 9 deletions

View File

@@ -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`);