Skip to content

Commit

Permalink
fix interval parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
roccomuso committed Oct 9, 2023
1 parent 3a46fc3 commit 46bca0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/no-ip.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ NoIP.prototype.start = function (interval) {
this.update()
this.loop = setInterval(function () {
self.update()
}, interval ? ms(interval) : DEFAULT_REFRESH_INTERVAL)
}, interval ? Number(interval) : DEFAULT_REFRESH_INTERVAL)
}

NoIP.prototype.stop = function () {
Expand Down

0 comments on commit 46bca0e

Please sign in to comment.