Skip to content

Commit

Permalink
fix: remove bogus '$' in TMDB role details in APIv3
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Dec 10, 2024
1 parent c005739 commit e110785
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Shoko.Server/API/v3/Models/Common/Role.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public Role(TMDB_Movie_Crew crew)
Image = personImages.Count > 0 ? new Image(personImages[0]) : null,
};
RoleName = crew.ToCreatorRole();
RoleDetails = $"{crew.Department}, ${crew.Job}";
RoleDetails = $"{crew.Department}, {crew.Job}";
}

public Role(TMDB_Show_Crew crew)
Expand All @@ -169,7 +169,7 @@ public Role(TMDB_Show_Crew crew)
Image = personImages.Count > 0 ? new Image(personImages[0]) : null,
};
RoleName = crew.ToCreatorRole();
RoleDetails = $"{crew.Department}, ${crew.Job}";
RoleDetails = $"{crew.Department}, {crew.Job}";
}

public Role(TMDB_Season_Crew crew)
Expand All @@ -185,7 +185,7 @@ public Role(TMDB_Season_Crew crew)
Image = personImages.Count > 0 ? new Image(personImages[0]) : null,
};
RoleName = crew.ToCreatorRole();
RoleDetails = $"{crew.Department}, ${crew.Job}";
RoleDetails = $"{crew.Department}, {crew.Job}";
}

public Role(TMDB_Episode_Crew crew)
Expand All @@ -201,7 +201,7 @@ public Role(TMDB_Episode_Crew crew)
Image = personImages.Count > 0 ? new Image(personImages[0]) : null,
};
RoleName = crew.ToCreatorRole();
RoleDetails = $"{crew.Department}, ${crew.Job}";
RoleDetails = $"{crew.Department}, {crew.Job}";
}

/// <summary>
Expand Down

0 comments on commit e110785

Please sign in to comment.