io improvement

This commit is contained in:
Leifer Mendez
2022-10-29 13:07:58 +02:00
parent 860c2bc8fb
commit e00aacfe3e
13 changed files with 168 additions and 67 deletions

View File

@@ -0,0 +1,7 @@
const crypto = require('crypto')
const generateRef = () => {
return crypto.randomUUID()
}
module.exports = { generateRef }

View File

@@ -0,0 +1,3 @@
const { generateRef } = require('./hash')
module.exports = { generateRef }