From 3be6556057d6938d4aabe5955f28150f8b33d164 Mon Sep 17 00:00:00 2001 From: Felix Hennig Date: Tue, 28 Jan 2025 15:11:14 +0100 Subject: [PATCH] adress review --- .../service/submission/CurrentProcessingPipelineTable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/kotlin/org/loculus/backend/service/submission/CurrentProcessingPipelineTable.kt b/backend/src/main/kotlin/org/loculus/backend/service/submission/CurrentProcessingPipelineTable.kt index 5d8f18797..240d68f32 100644 --- a/backend/src/main/kotlin/org/loculus/backend/service/submission/CurrentProcessingPipelineTable.kt +++ b/backend/src/main/kotlin/org/loculus/backend/service/submission/CurrentProcessingPipelineTable.kt @@ -24,7 +24,7 @@ object CurrentProcessingPipelineTable : Table(CURRENT_PROCESSING_PIPELINE_TABLE_ fun pipelineNeedsUpdate(foundVersion: Long, organism: String) = CurrentProcessingPipelineTable .selectAll() - .where { versionColumn neq foundVersion } + .where { versionColumn less foundVersion } .andWhere { organismColumn eq organism } .limit(1) .empty()