Lint Netlify functions
This commit is contained in:
parent
eb85319f73
commit
d2f3cada52
11 changed files with 83 additions and 90 deletions
|
@ -23,8 +23,7 @@ const handler: Handler = async () => {
|
|||
url: string;
|
||||
}>;
|
||||
};
|
||||
}>
|
||||
(`http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=TTTaevas&api_key=${process.env.API_LASTFM}&format=json&limit=1`);
|
||||
}>(`http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=TTTaevas&api_key=${process.env.API_LASTFM}&format=json&limit=1`);
|
||||
|
||||
const image = lastfm.recenttracks.track[0].image.find((i) => i.size == "large");
|
||||
const track: LastfmInfo = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue