|
// TODO Cache it somewhere so we dont fetch it when creating a new playlist |
|
val userId = spotifyService.getCurrentUser().id |
|
val newPlaylist = PlaylistDTO(playlistName, "Playlist made by DJ App") |
|
val createdPlaylist = try { |
|
spotifyService.createPlaylist(newPlaylist, userId) |
|
} catch (e: HttpException) { |
This issue was generated by todo based on a TODO
comment in f80a15f when #12 was merged. cc @mrf7.