Skip to content
Snippets Groups Projects
Commit 2cb3a23b authored by Éloïs's avatar Éloïs
Browse files

fix(ws2p): set uuid if is not provided

parent c976e7f9
No related branches found
No related tags found
No related merge requests found
......@@ -311,6 +311,11 @@ export class WS2PAPI extends stream.Transform {
**************/
if (this.conf.ws2p && this.conf.ws2p.publicAccess) {
if (!this.conf.ws2p.uuid) {
this.conf.ws2p.uuid = nuuid.v4().slice(0, 8);
}
/***************
* MANUAL
**************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment