Fix syntax error

This commit is contained in:
ogaclejapan 2019-11-01 09:52:05 +09:00
parent 1bc2c9a1f6
commit 2a6d840e6e

View file

@ -226,7 +226,7 @@ Let's see how it works step-by-step on example, for a cross-origin `PATCH` reque
let response = await fetch('https://site.com/service.json', { let response = await fetch('https://site.com/service.json', {
method: 'PATCH', method: 'PATCH',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json',
'API-Key': 'secret' 'API-Key': 'secret'
} }
}); });