diff --git a/helpers/mu/index.js b/helpers/mu/index.js index d8a40f4..63a9256 100644 --- a/helpers/mu/index.js +++ b/helpers/mu/index.js @@ -1,9 +1,6 @@ import { app, errorHandler } from './server.js'; import sparql from './sparql.js'; -import { v1 as uuidV1 } from 'uuid'; - -// generates a uuid -const uuid = uuidV1; +import uuid from './uuid.js'; const mu = { app: app, diff --git a/helpers/mu/uuid.js b/helpers/mu/uuid.js new file mode 100644 index 0000000..e4832aa --- /dev/null +++ b/helpers/mu/uuid.js @@ -0,0 +1,6 @@ +import { v1 as uuidV1 } from 'uuid'; + +// generates a uuid +const uuid = uuidV1; + +export { uuid };