diff --git a/packages/core/services/DatabaseService/index.ts b/packages/core/services/DatabaseService/index.ts index 2c089473..b001b840 100644 --- a/packages/core/services/DatabaseService/index.ts +++ b/packages/core/services/DatabaseService/index.ts @@ -141,8 +141,8 @@ export default abstract class DatabaseService { } public async prepareSourceMetadata(sourceMetadata: Source): Promise { - const isOldSource = sourceMetadata.name === this.sourceMetadataName; - if (isOldSource) { + const isPreviousSource = sourceMetadata.name === this.sourceMetadataName; + if (isPreviousSource) { return; }