9 lines
221 B
JavaScript
9 lines
221 B
JavaScript
export class GetChapterContext {
|
|
constructor(readerRepository) {
|
|
this.readerRepository = readerRepository;
|
|
}
|
|
|
|
async execute(chapterId) {
|
|
return await this.readerRepository.getChapterContext(chapterId);
|
|
}
|
|
} |