Last.fm: always fetch asset ids
This commit is contained in:
parent
cceb517c9b
commit
b79971248c
1 changed files with 0 additions and 3 deletions
|
|
@ -32,8 +32,5 @@ export function sendRequest(activity: Activity) {
|
|||
export async function fetchAsset(asset: string[], appId: string = Constants.APPLICATION_ID): Promise<string[]> {
|
||||
if (!asset) return [];
|
||||
|
||||
const assetIds = AssetManager.getAssetIds(appId, asset);
|
||||
if (assetIds.length > 0) return assetIds;
|
||||
|
||||
return await AssetManager.fetchAssetIds(appId, asset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue