Skip to content

Commit dfcdab7

Browse files
author
Abhishek Jasud
committed
unused code removed
1 parent 485ebc8 commit dfcdab7

File tree

1 file changed

+0
-3
lines changed
  • src/repository/storage/postgres/orm/sequelize

1 file changed

+0
-3
lines changed

src/repository/storage/postgres/orm/sequelize/note.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ export default class NoteSequelizeStorage {
399399
const notes = result as NoteRow[];
400400

401401
const notesMap = new Map<NoteInternalId, NoteTree>();
402-
const publicIdMap = new Map<NoteInternalId, NotePublicId>(); // Internal to Public ID lookup
403402

404403
let root: NoteTree | null = null;
405404

@@ -410,8 +409,6 @@ export default class NoteSequelizeStorage {
410409
content: note.content,
411410
childNotes: [],
412411
});
413-
414-
publicIdMap.set(note.noteid, note.public_id);
415412
});
416413

417414
// Step 2: Build hierarchy

0 commit comments

Comments
 (0)