Skip to content

Commit

Permalink
Crowdin: add parameter in -F and not in url
Browse files Browse the repository at this point in the history
Seems to correspond to the examples of https://support.crowdin.com/api/update-file/
  • Loading branch information
Arthur-Milchior authored and mikehardy committed Aug 28, 2020
1 parent 15a93a0 commit 372b2b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/manage-crowdin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ for i in "${I18N_FILES[@]}"; do
echo "FILE arg is -F \"files[${I18N_FILE_TARGET_NAME}]=@${I18N_FILE_SOURCE_NAME}\" "
curl \
-F "files[${I18N_FILE_TARGET_NAME}]=@${I18N_FILE_SOURCE_NAME}" \
https://api.crowdin.com/api/project/${PROJECT_IDENTIFIER}/update-file?update_option=update_without_changes&key=${CROWDIN_KEY}
-F "update_option=update_without_changes"
https://api.crowdin.com/api/project/${PROJECT_IDENTIFIER}/update-file?key=${CROWDIN_KEY}
fi
done

0 comments on commit 372b2b3

Please sign in to comment.