mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Fix bug
This commit is contained in:
parent
6f4129e69e
commit
b17ba0b9cf
@ -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--
|
||||
|
Loading…
Reference in New Issue
Block a user