Notes/services/source_id.js

8 lines
174 B
JavaScript
Raw Normal View History

const utils = require('./utils');
2017-11-06 19:23:35 -05:00
const log = require('./log');
2017-11-06 19:23:35 -05:00
const sourceId = utils.randomString(16);
log.info("Using sourceId=" + sourceId);
module.exports = sourceId;