Skip to content

Commit 85b6ae0

Browse files
committed
docs: fix indentation
1 parent 7c3689f commit 85b6ae0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/docs/tutorials/api-sql-review.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ This tutorial code repository is at https://github.com/bytebase/api-example/tree
4444
4545
export bytebase_password=bbs_xxxxxxxxxxxxxilcLVG
4646
bytebase_token=$(curl -v ${bytebase_url}/v1/auth/login \
47-
--data-raw '{"email":"'${bytebase_account}'","password":"'${bytebase_password}'","web":true}' \
48-
--compressed 2>&1 | grep token | grep -o 'access-token=[^;]*;' | grep -o '[^;]*' | sed 's/access-token=//g; s/;//g')
47+
--data-raw '{"email":"'${bytebase_account}'","password":"'${bytebase_password}'","web":true}' \
48+
--compressed 2>&1 | grep token | grep -o 'access-token=[^;]*;' | grep -o '[^;]*' | sed 's/access-token=//g; s/;//g')
4949
echo $bytebase_token
5050
```
5151

@@ -85,19 +85,19 @@ You may notice that the SQL review rules are not applied to any resources yet fr
8585
1. Follow the `README.md` to run the scripts to apply the SQL review rules to environments.
8686

8787
```bash
88-
curl --request PATCH "${bytebase_url}/v1/environments/test/policies/tag?allow_missing=true&update_mask=payload" \
88+
curl --request PATCH "${bytebase_url}/v1/environments/test/policies/tag?allow_missing=true&update_mask=payload" \
8989
--header 'Authorization: Bearer '${bytebase_token} \
9090
--data @binding/environments/test.json
9191

92-
curl --request PATCH "${bytebase_url}/v1/environments/prod/policies/tag?allow_missing=true&update_mask=payload" \
92+
curl --request PATCH "${bytebase_url}/v1/environments/prod/policies/tag?allow_missing=true&update_mask=payload" \
9393
--header 'Authorization: Bearer '${bytebase_token} \
9494
--data @binding/environments/prod.json
9595
```
9696

9797
1. Continue with the `README.md` to apply the SQL review rules to projects.
9898

9999
```bash
100-
curl --request PATCH "${bytebase_url}/v1/projects/project-sample/policies/tag?allow_missing=true&update_mask=payload" \
100+
curl --request PATCH "${bytebase_url}/v1/projects/project-sample/policies/tag?allow_missing=true&update_mask=payload" \
101101
--header 'Authorization: Bearer '${bytebase_token} \
102102
--data @binding/projects/project-sample.json
103103
```

0 commit comments

Comments
 (0)