From 98cd5036e0703ba435654fe2467ec9c56628b763 Mon Sep 17 00:00:00 2001 From: Ryan Goetz Date: Mon, 18 Mar 2024 05:46:00 -1000 Subject: [PATCH] Tine Bug fix that I noticed. I noticed this while I was testing the query refactor branch. I accidentally swapped 'missionID' and 'CommandID' in the Hasura call. --- sequencing-server/src/backgroundTranspiler.ts | 2 +- sequencing-server/src/utils/hasura.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sequencing-server/src/backgroundTranspiler.ts b/sequencing-server/src/backgroundTranspiler.ts index a049335bac..14b6b426f5 100644 --- a/sequencing-server/src/backgroundTranspiler.ts +++ b/sequencing-server/src/backgroundTranspiler.ts @@ -49,7 +49,7 @@ export async function backgroundTranspiler(numberOfThreads: number = 2) { }); const commandTypes = await commandTypescriptDataLoader.load({ - dictionaryId: missionModelId, + dictionaryId: commandDictionaryId, }); if (commandTypes === null) { diff --git a/sequencing-server/src/utils/hasura.ts b/sequencing-server/src/utils/hasura.ts index 29beeb6f58..e6b64c6c01 100644 --- a/sequencing-server/src/utils/hasura.ts +++ b/sequencing-server/src/utils/hasura.ts @@ -453,7 +453,7 @@ export async function getExpansionRule( }>( gql` query GetExpansonLogic { - expansion_rule(where: {authoring_command_dict_id: {_eq: ${missionModelId}}, authoring_mission_model_id: {_eq: ${commandDictionaryId} }}) { + expansion_rule(where: {authoring_command_dict_id: {_eq: ${commandDictionaryId}}, authoring_mission_model_id: {_eq: ${missionModelId} }}) { id activity_type expansion_logic