Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 893c0c1

Browse files
committed
Fix import path for uuid package changes
Signed-off-by: Michael Irwin <[email protected]>
1 parent 615af9f commit 893c0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/routes/addItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const db = require('../persistence');
2-
const uuid = require('uuid/v4');
2+
const {v4 : uuid} = require('uuid');
33

44
module.exports = async (req, res) => {
55
const item = {

0 commit comments

Comments
 (0)