From 4a1c206859198ddc84f7888a4ad0e18b93382525 Mon Sep 17 00:00:00 2001 From: Brice Date: Fri, 12 Aug 2022 10:42:03 +0100 Subject: [PATCH] Fix uuid generation. uuid is an object, it's uuid.uuid() who's a function --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/render.js b/lib/render.js index 6fc8054..00dad61 100644 --- a/lib/render.js +++ b/lib/render.js @@ -320,5 +320,5 @@ function remove(file, cb) { } function randomName() { - return path.join(os.tmpdir(), 'videoshow-' + uuid()) + return path.join(os.tmpdir(), 'videoshow-' + uuid.uuid()) }