Skip to content

Commit

Permalink
fix: build problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dependentmadani committed Sep 6, 2024
1 parent 42cb421 commit bb6caff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domain/service/note.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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<Array<NoteParentContent>> {
public async getNoteParentStructure(noteId: NoteInternalId, userId: number): Promise<NoteParentsStructure> {
return await this.teamRepository.getAllNotesParents(noteId, userId);
}
}

0 comments on commit bb6caff

Please sign in to comment.