mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-09 04:47:41 +00:00
all-files: inject database connection, create title entity
This commit is contained in:
@@ -11,6 +11,11 @@ export class AllFilesController {
|
||||
return this.allFilesService.getMenu();
|
||||
}
|
||||
|
||||
@Get('titles')
|
||||
async titles() {
|
||||
return this.allFilesService.getAllTitles();
|
||||
}
|
||||
|
||||
@Get('show')
|
||||
getShows() {
|
||||
return { will: 'show shows list' };
|
||||
|
||||
Reference in New Issue
Block a user