Skip to content

Commit

Permalink
Add artistProfile to ConstantURLPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
Davilarek committed May 27, 2024
1 parent 71c1cdf commit 6fd304b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ const ConstantURLPaths = {
song: "piosenka",
search: "szukaj",
artistSongs: "piosenki_artysty",
artistProfile: "wykonawca",
};

const TekstowoAPIUrls = {
Expand All @@ -148,7 +149,7 @@ const TekstowoAPIUrls = {
* @param {TekstowoAPIArtistID} id
*/
ARTIST_PROFILE: (id) => {
return `https://www.tekstowo.pl/wykonawca,${id}.html`;
return `https://www.tekstowo.pl/${ConstantURLPaths.artistProfile},${id}.html`;
},
__TEKSTOWO_OFFICIAL_API_USE_RARELY: {
MORE_COMMENTS: (internalId, offset = 0, mode = 'S') => {
Expand Down

0 comments on commit 6fd304b

Please sign in to comment.