Opts, not "opt".
This commit is contained in:
parent
d19caed973
commit
cc509a7b57
|
@ -563,7 +563,7 @@
|
||||||
headers : web._header,
|
headers : web._header,
|
||||||
data : JSON.stringify({ counter : change })
|
data : JSON.stringify({ counter : change })
|
||||||
}
|
}
|
||||||
fetch('/counter', opt)
|
fetch('/counter', opts)
|
||||||
.then(web.useJson)
|
.then(web.useJson)
|
||||||
.then(web.setCounterSuccess)
|
.then(web.setCounterSuccess)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
|
Loading…
Reference in New Issue