Skip to content

Commit d54c313

Browse files
committed
example: adapter client ttl fix
1 parent 96802df commit d54c313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/heroku_mongo_adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class HerokuExampleAdapter extends MongoAdapter {
55
// HEROKU EXAMPLE ONLY, do not use the following block unless you want to drop dynamic
66
// registrations 24 hours after registration
77
if (this.name === 'client') {
8-
expiresIn = 24 * 60 * 60 * 1000; // eslint-disable-line no-param-reassign
8+
expiresIn = 24 * 60 * 60; // eslint-disable-line no-param-reassign
99
}
1010

1111
return super.upsert(_id, payload, expiresIn);

0 commit comments

Comments
 (0)