Refactor(note): Remove shortid from note

This is a 1.x relict and isn't used anymore in 2.x. All 1.x shortids will be converted to aliases on migration of 1.x to 2.x.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-05-11 22:37:52 +02:00
parent ac01521d82
commit 8c562016ab
5 changed files with 2 additions and 32 deletions

View file

@ -45,7 +45,7 @@ createConnection({
})
.then(async (connection) => {
const user = User.create('hardcoded', 'Test User');
const note = Note.create(undefined, 'test', 'abc');
const note = Note.create(undefined, 'test');
const revision = Revision.create(
'This is a test note',
'This is a test note',