Skip to content

Commit

Permalink
spotify api fields int to double type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sercangunver committed Jan 9, 2024
1 parent 46be74a commit 31499bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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; }
}
}

2 changes: 1 addition & 1 deletion SpotifyAPI.Web/Models/Response/FullAlbum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class FullAlbum
public List<Image> Images { get; set; } = default!;
public string Label { get; set; } = default!;
public string Name { get; set; } = default!;
public int Popularity { get; set; }
public double Popularity { get; set; }
public string ReleaseDate { get; set; } = default!;
public string ReleaseDatePrecision { get; set; } = default!;
public Dictionary<string, string> Restrictions { get; set; } = default!;
Expand Down
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

0 comments on commit 31499bb

Please sign in to comment.