Skip to content

Commit 4fdf8ae

Browse files
fix: jq syntax
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 1597ffe commit 4fdf8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/token-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ You can get model's address by calling `/v1/models` endpoint.
141141
```shell
142142
MODELS=$(curl ${HOST}/maas-api/v1/models \
143143
-H "Content-Type: application/json" \
144-
-H "Authorization: Bearer ${ACCESS_TOKEN}" | jq . -r)
144+
-H "Authorization: Bearer ${ACCESS_TOKEN}")
145145

146146
echo $MODELS | jq .
147147
MODEL_URL=$(echo $MODELS | jq -r '.data[0].url')

0 commit comments

Comments
 (0)