File tree Expand file tree Collapse file tree
storage/postgres/orm/sequelize Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ export default class NoteService {
416416 * Get concrete history record of the note
417417 * Used for showing some of the note content versions
418418 * @param id - id of the note history record
419- * @returns full public note history record or raises domain error if record not found
419+ * @returns full public note history record with user information or raises domain error if record not found
420420 */
421421 public async getHistoryRecordById ( id : NoteHistoryRecord [ 'id' ] ) : Promise < NoteHistoryPublic > {
422422 const noteHistoryRecord = await this . noteHistoryRepository . getHistoryRecordById ( id ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default class NoteHistoryRepository {
3636 * Get concrete history record by it's id
3737 * Used for presentation of certain version of note content saved in history
3838 * @param id - id of the history record
39- * @returns full history record or null if there is no record with such an id
39+ * @returns full history record with user information or null if there is no record with such an id
4040 */
4141 public async getHistoryRecordById ( id : NoteHistoryRecord [ 'id' ] ) : Promise < NoteHistoryView | null > {
4242 return await this . storage . getHistoryRecordById ( id ) ;
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default class NoteHistorySequelizeStorage {
161161 /**
162162 * Get concrete history record by it's id
163163 * @param id - id of the history record
164- * @returns full history record or null if there is no record with such an id
164+ * @returns full history record with user information or null if there is no record with such an id
165165 */
166166 public async getHistoryRecordById ( id : NoteHistoryRecord [ 'id' ] ) : Promise < NoteHistoryView | null > {
167167 const historyView = await this . model . findOne ( {
You can’t perform that action at this time.
0 commit comments