Skip to content

Commit 226df48

Browse files
committed
description changed
1 parent b7354b5 commit 226df48

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/repository/note.repository.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ export default class NoteRepository {
9292
}
9393

9494
/**
95-
* Fetches the raw recursive note tree data from DB
95+
* Get note row by noteId
9696
* @param noteId - note id
97-
* @returns Array of raw note rows (note with parent_id)
97+
* @returns an array of note rows
9898
*/
9999
public async getNoteRowByNoteId(noteId: NoteInternalId): Promise<NoteRow[] | null> {
100100
return await this.storage.getNoteRowbyNoteId(noteId);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ export default class NoteSequelizeStorage {
348348
}
349349

350350
/**
351-
* Fetches the raw recursive note tree data from DB
351+
* Get note row by noteId
352352
* @param noteId - note id
353-
* @returns Array of raw note rows (note with parent_id)
353+
* @returns an array of note rows
354354
*/
355355
public async getNoteRowbyNoteId(noteId: NoteInternalId): Promise<NoteRow[] | null> {
356356
// Fetch all notes and relations in a recursive query

0 commit comments

Comments
 (0)