session.js 165 B

12345678910
  1. 'use strict';
  2. module.exports = (sessionId, userId) => {
  3. return {
  4. sessionId: sessionId,
  5. userId: userId,
  6. refreshDate: Date.now(),
  7. created: Date.now()
  8. };
  9. };