Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vej-ananas committed Sep 3, 2024
1 parent 14421c5 commit 242bbd0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export class AssetSyncService implements OnApplicationBootstrap {
private async startSyncIfIndexOutOfSync() {
console.debug(`startSyncIfIndexOutOfSync.`);
const numberOfAssets = await this.assetRepo.count();
const numberOfIndixedAssets = await this.assetSearchService.count();
console.debug(`Found ${numberOfAssets} Assets and ${numberOfIndixedAssets} Indexed documents.`);
if (numberOfAssets !== numberOfIndixedAssets) {
const numberOfIndexedAssets = await this.assetSearchService.count();
console.debug(`Found ${numberOfAssets} Assets and ${numberOfIndexedAssets} Indexed documents.`);
if (numberOfAssets !== numberOfIndexedAssets) {
await this.start();
}
}
Expand Down

0 comments on commit 242bbd0

Please sign in to comment.