Skip to content
Snippets Groups Projects
Commit 4a1674d4 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 7c91da61
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,6 @@ net = riot.observable!
riot.mixin \net do
net: net
log = (riot.mixin \log).log
module.exports = (i, endpoint, data) ->
pending++
......@@ -48,8 +46,6 @@ module.exports = (i, endpoint, data) ->
net.trigger \detected-slow-network
, 5000ms
log "API: #{ep}"
fetch ep, opts
.then (res) ->
pending--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment