Skip to content

Commit

Permalink
Tine Bug fix that I noticed.
Browse files Browse the repository at this point in the history
I noticed this while I was testing the query refactor branch. I accidentally swapped 'missionID' and 'CommandID' in the Hasura call.
  • Loading branch information
goetzrrGit authored and Mythicaeda committed Mar 18, 2024
1 parent 249266d commit 98cd503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sequencing-server/src/backgroundTranspiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function backgroundTranspiler(numberOfThreads: number = 2) {
});

const commandTypes = await commandTypescriptDataLoader.load({
dictionaryId: missionModelId,
dictionaryId: commandDictionaryId,
});

if (commandTypes === null) {
Expand Down
2 changes: 1 addition & 1 deletion sequencing-server/src/utils/hasura.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98cd503

Please sign in to comment.