Add missing } to updateArticle code sample (#6924)

Before this change the example curl command returns 400 bad request with an appropriate API key and article ID.

After this change the example curl command does not return error 400 bad request.
This commit is contained in:
Keith Maxwell 2020-03-29 07:35:05 +01:00 committed by GitHub
parent a654d25009
commit 6c302f712a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1890,7 +1890,7 @@ paths:
source: |
curl -X PUT -H "Content-Type: application/json" \
-H "api-key: API_KEY" \
-d '{"article":{"title":"Title"}' \
-d '{"article":{"title":"Title"}}' \
https://dev.to/api/articles/{id}
/articles/me: