Skip to content

Commit ecaf0f2

Browse files
committed
Fix JS bug
1 parent 0bb222e commit ecaf0f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • frontends/api/src/hooks/learningPaths

frontends/api/src/hooks/learningPaths/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const useLearningPathListItemMove = () => {
102102
await learningPathsApi.learningpathsItemsPartialUpdate({
103103
learning_resource_id: parent,
104104
id,
105-
PatchedLearningPathRelationshipRequest: { position },
105+
PatchedLearningPathRelationshipCreateRequest: { position },
106106
})
107107
},
108108
onSettled: (_data, _err, vars) => {

0 commit comments

Comments
 (0)