We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f2821 commit ce9b80fCopy full SHA for ce9b80f
lib/breinify.js
@@ -223,7 +223,7 @@ Breinify.prototype = {
223
224
var payload = {
225
'apiKey': config.apiKey,
226
- 'unixTimestamp': Math.floor(typeof unixTimestamp === number ? unixTimestamp : Date.now() / 1000),
+ 'unixTimestamp': Math.floor(typeof unixTimestamp === 'number' ? unixTimestamp : Date.now() / 1000),
227
'user': user
228
};
229
0 commit comments