Skip to content

Commit

Permalink
refactor: renamed method names
Browse files Browse the repository at this point in the history
  • Loading branch information
Duell10111 committed Dec 15, 2024
1 parent b9b85f2 commit 8d3c61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/managers/PlaylistManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class PlaylistManager {
* Adds a given playlist to the library of a user.
* @param playlist_id - The playlist ID.
*/
async likePlaylist(playlist_id: string){
async addToLibrary(playlist_id: string){
throwIfMissing({ playlist_id });

if (!this.#actions.session.logged_in)
Expand All @@ -90,7 +90,7 @@ export default class PlaylistManager {
* Remove a given playlist to the library of a user.
* @param playlist_id - The playlist ID.
*/
async removeLikePlaylist(playlist_id: string){
async removeFromLibrary(playlist_id: string){
throwIfMissing({ playlist_id });

if (!this.#actions.session.logged_in)
Expand Down

0 comments on commit 8d3c61f

Please sign in to comment.