From 893c0c1bd5f1f33448ec31fbb6d6f399206ab0d6 Mon Sep 17 00:00:00 2001 From: Michael Irwin Date: Tue, 22 Nov 2022 22:13:20 -0500 Subject: [PATCH] Fix import path for uuid package changes Signed-off-by: Michael Irwin --- app/src/routes/addItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/routes/addItem.js b/app/src/routes/addItem.js index fbd3095..90dfe06 100644 --- a/app/src/routes/addItem.js +++ b/app/src/routes/addItem.js @@ -1,5 +1,5 @@ const db = require('../persistence'); -const uuid = require('uuid/v4'); +const {v4 : uuid} = require('uuid'); module.exports = async (req, res) => { const item = {