Skip to content

Commit a25fc9c

Browse files
author
ml9951
committed
Arguments to setInterval were backwards.
1 parent 341c2e3 commit a25fc9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function refresh(){
8686
})
8787
}
8888

89-
setInterval(1000 * 60 * 20, refresh)
89+
setInterval(refresh, 1000 * 60 * 20)
9090

9191
module.exports = function(untappd){
9292
/**

0 commit comments

Comments
 (0)