1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(bug) new sentences should not keep translations

This commit is contained in:
Sylvain 2023-03-15 14:22:16 +01:00
parent b76cbf4ea5
commit 29693b446e

View File

@ -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() {