Opts, not "opt".

This commit is contained in:
mmcwilliams 2017-11-22 11:26:25 -05:00
parent d19caed973
commit cc509a7b57
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {