Skip to content

eliminate need to specify empty {} in spotifyApi.* calls #12

@MileanCo

Description

@MileanCo

Need to eliminate the need to specify the empty hash {} in spotifyApi calls like so:
var response = spotifyApi.getUserPlaylists(userId, {});

It's not very intuitive to have to remember to specify nothing if you dont have any parameters. If you dont specify {}. the call never returns and the program hangs (no error).

It's also confusing that other methods like
var response = spotifyApi.getMe( );
Dont require any extra empty hashes {} because the method actually doesnt take any parameters (and also fails if you try to specify any, or none with {} ).

Marking this mainly as a TODO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions