From bb6caff6c5b6e0faae73fd358b1af5fa6420acf1 Mon Sep 17 00:00:00 2001 From: dependentmadani Date: Fri, 6 Sep 2024 18:51:37 +0100 Subject: [PATCH] fix: build problem fixed --- src/domain/service/note.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/service/note.ts b/src/domain/service/note.ts index e1c45319..fd073182 100644 --- a/src/domain/service/note.ts +++ b/src/domain/service/note.ts @@ -1,4 +1,4 @@ -import type { Note, NoteInternalId, NoteParentContent, NotePublicId } from '@domain/entities/note.js'; +import type { Note, NoteInternalId, NoteParentsStructure, NotePublicId } from '@domain/entities/note.js'; import type NoteRepository from '@repository/note.repository.js'; import type NoteVisitsRepository from '@repository/noteVisits.repository.js'; import { createPublicId } from '@infrastructure/utils/id.js'; @@ -457,7 +457,7 @@ export default class NoteService { * @param userId - id of the user that is requesting the parent structure * @returns - array of notes that are parent structure of the note */ - public async getNoteParentStructure(noteId: NoteInternalId, userId: number): Promise> { + public async getNoteParentStructure(noteId: NoteInternalId, userId: number): Promise { return await this.teamRepository.getAllNotesParents(noteId, userId); } }