Put an identifiable user-agent to comply with Last.fm API

This commit is contained in:
Lucas Gabriel 2024-09-07 13:08:57 -03:00
parent 772914f6bf
commit b1304b9956
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

@ -25,6 +25,9 @@ module.exports = (bot) => {
api_key: Config.lastKey, api_key: Config.lastKey,
format: 'json', format: 'json',
limit: 1 limit: 1
},
headers: {
'User-Agent': "lastfm-node"
} }
}); });