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 committed by David Mehren
parent f5039791ed
commit f739687b00
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
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',