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