Use the new module and uninstall shortid
This commit is contained in:
parent
8b900c94ba
commit
62f6ef4559
14 changed files with 17 additions and 26 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
const config = require('../config');
|
||||
const knex = require('../../../lib/knex');
|
||||
const shortid = require('shortid');
|
||||
const shortid = require('../../../shortid');
|
||||
const slugify = require('slugify');
|
||||
|
||||
async function run() {
|
||||
|
@ -66,4 +66,4 @@ async function run() {
|
|||
process.exit();
|
||||
}
|
||||
|
||||
run().catch(err => console.error(err));
|
||||
run().catch(err => console.error(err));
|
||||
|
|
|
@ -11,7 +11,7 @@ const { EntityVals: TriggerEntityVals, EventVals: TriggerEventVals } = require('
|
|||
const { SubscriptionSource } = require('../../../../shared/lists');
|
||||
const {DOMParser, XMLSerializer} = require('xmldom');
|
||||
const log = require('../../../lib/log');
|
||||
const shortid = require('shortid');
|
||||
const shortid = require('../../../lib/shortid');
|
||||
const slugify = require('slugify');
|
||||
|
||||
const entityTypesAddNamespace = ['list', 'custom_form', 'template', 'campaign', 'report', 'report_template', 'user'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue