Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotify api fields int to double type changes #930

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SpotifyAPI.Web/Models/Response/Followers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class Followers
{
public string Href { get; set; } = default!;

public int Total { get; set; }
public double Total { get; set; }
}
}

29 changes: 0 additions & 29 deletions SpotifyAPI.Web/Models/Response/FullAlbum.cs

This file was deleted.

2 changes: 1 addition & 1 deletion SpotifyAPI.Web/Models/Response/FullArtist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class FullArtist
public string Id { get; set; } = default!;
public List<Image> Images { get; set; } = default!;
public string Name { get; set; } = default!;
public int Popularity { get; set; }
public double Popularity { get; set; }
public string Type { get; set; } = default!;
public string Uri { get; set; } = default!;
}
Expand Down
4 changes: 2 additions & 2 deletions SpotifyAPI.Web/Models/Response/Image.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ namespace SpotifyAPI.Web
{
public class Image
{
public int Height { get; set; }
public int Width { get; set; }
public double Height { get; set; }
public double Width { get; set; }
public string Url { get; set; } = default!;
}
}
Expand Down
Loading