mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-26 23:24:35 +02:00
fix await
This commit is contained in:
parent
030d734247
commit
b03f08e444
@ -7,7 +7,7 @@ import type {trackType} from '../types';
|
||||
|
||||
const albumInfo = async (track: trackType) => {
|
||||
try {
|
||||
return getAlbumInfoPublicApi(track.ALB_ID);
|
||||
return await getAlbumInfoPublicApi(track.ALB_ID);
|
||||
} catch (err) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user