Skip to content

Commit

Permalink
Fix quoting of boolean param in CLI example (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoenke authored Sep 13, 2024
1 parent 4faa0c0 commit 9dcdcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -16459,7 +16459,7 @@
},
{
"lang": "CLI v2",
"source": "phrase projects create \\\n--data '{\"name\": \"My Android Project\", \"main_format\":\"yml\", \"shares_translation_memory\":\"true\"}' \\\n--access_token <token>"
"source": "phrase projects create \\\n--data '{\"name\": \"My Android Project\", \"main_format\":\"yml\", \"shares_translation_memory\":true}' \\\n--access_token <token>"
}
],
"requestBody": {
Expand Down
2 changes: 1 addition & 1 deletion paths/projects/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ x-code-samples:
- lang: CLI v2
source: |-
phrase projects create \
--data '{"name": "My Android Project", "main_format":"yml", "shares_translation_memory":"true"}' \
--data '{"name": "My Android Project", "main_format":"yml", "shares_translation_memory":true}' \
--access_token <token>
requestBody:
required: true
Expand Down

0 comments on commit 9dcdcab

Please sign in to comment.