Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1245efd

Browse files
Fix deprecation warning
1 parent c6a6537 commit 1245efd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/TemplateService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const _ = require('lodash')
55
const Joi = require('joi')
66
const config = require('config')
7-
const uuid = require('uuid/v4')
7+
const { v4: uuid } = require('uuid')
88
const helper = require('../common/helper')
99
const logger = require('../common/logger')
1010

src/services/UploadService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const _ = require('lodash')
55
const Joi = require('joi')
66
const config = require('config')
7-
const uuid = require('uuid/v4')
7+
const { v4: uuid } = require('uuid')
88
const helper = require('../common/helper')
99
const logger = require('../common/logger')
1010

0 commit comments

Comments
 (0)