docs: fix wrong JS syntax (#5136)

This commit is contained in:
Pedro Guilherme S. Moreira 2023-05-18 09:33:44 -03:00 committed by GitHub
parent b80baaf359
commit 55332be325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,8 +125,8 @@ in a Flask view.
.. code-block:: javascript
let data = new FormData()
data.append("name": "Flask Room")
data.append("description": "Talk about Flask here.")
data.append("name", "Flask Room")
data.append("description", "Talk about Flask here.")
fetch(room_url, {
"method": "POST",
"body": data,