mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
fix type errors
This commit is contained in:
parent
bc42329d27
commit
8dbaec3943
8 changed files with 53 additions and 41 deletions
|
|
@ -252,7 +252,10 @@ export const SubsonicController: ControllerEndpoint = {
|
|||
};
|
||||
},
|
||||
getAlbumArtistListCount: (args) =>
|
||||
SubsonicController.getAlbumArtistList(args).then((res) => res!.totalRecordCount!),
|
||||
SubsonicController.getAlbumArtistList({
|
||||
...args,
|
||||
query: { ...args.query, startIndex: 0 },
|
||||
}).then((res) => res!.totalRecordCount!),
|
||||
getAlbumDetail: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
|
|
@ -602,7 +605,10 @@ export const SubsonicController: ControllerEndpoint = {
|
|||
};
|
||||
},
|
||||
getArtistListCount: async (args) =>
|
||||
SubsonicController.getArtistList(args).then((res) => res!.totalRecordCount!),
|
||||
SubsonicController.getArtistList({
|
||||
...args,
|
||||
query: { ...args.query, startIndex: 0 },
|
||||
}).then((res) => res!.totalRecordCount!),
|
||||
getDownloadUrl: (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue