From 29693b446ee2049911f8b7f93fe34cd96fb6216d Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 15 Mar 2023 14:22:16 +0100 Subject: [PATCH] (bug) new sentences should not keep translations --- scripts/translations/upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/translations/upload.sh b/scripts/translations/upload.sh index 00c614bea..eafb01c49 100755 --- a/scripts/translations/upload.sh +++ b/scripts/translations/upload.sh @@ -34,7 +34,7 @@ list_files() { update_file() { # params: FILE_ID, STORAGE_ID - curl -s -X PUT "https://api.crowdin.com/api/v2/projects/$PROJECT_ID/files/$1" -H "$(authorization)" -H "Content-Type: application/json" -d "{ \"storageId\": $2, \"updateOption\": \"keep_translations_and_approvals\" }" + curl -s -X PUT "https://api.crowdin.com/api/v2/projects/$PROJECT_ID/files/$1" -H "$(authorization)" -H "Content-Type: application/json" -d "{ \"storageId\": $2 }" } find_file_id() {