Files
Mangarr/assets/react/app/application/useCases/getChapterContext.js
2025-02-17 12:02:56 +01:00

9 lines
221 B
JavaScript

export class GetChapterContext {
constructor(readerRepository) {
this.readerRepository = readerRepository;
}
async execute(chapterId) {
return await this.readerRepository.getChapterContext(chapterId);
}
}