Skip to content

Commit

Permalink
fix(import-app): adapt flow stage query
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Jun 28, 2024
1 parent 177b4d4 commit dfff60d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const pushItemToFlow = async (
stageIdentifier: $stage
items: [{ id: $itemId, language: $language, version: $version }]
) {
... on FlowStageContentList {
... on FlowContentList {
content {
id
}
Expand All @@ -46,7 +46,7 @@ export const pushItemToFlow = async (
if (!res?.addItemsToFlowStage?.content || res?.addItemsToFlowStage?.content.length === 0) {
throw new Error(
res?.addItemsToFlowStage?.error ||
`Failed to add item to flow ${id}-${language}-${version} to stage ${stage}`,
`Failed to add item to flow ${id}-${language}-${version} to stage ${stage}`,
);
}
};

0 comments on commit dfff60d

Please sign in to comment.