Use the new module and uninstall shortid

This commit is contained in:
joker-x 2020-08-25 23:03:35 +02:00
parent 8b900c94ba
commit 62f6ef4559
14 changed files with 17 additions and 26 deletions

View file

@ -1,7 +1,7 @@
'use strict';
const knex = require('../lib/knex');
const shortid = require('shortid');
const shortid = require('../lib/shortid');
async function addConfirmation(listId, action, ip, data) {
const cid = shortid.generate();