Skip to content

Commit

Permalink
Hopefully Fix Deleting Releases from Missing Groups in Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Jan 26, 2024
1 parent 7a37c24 commit 312802f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ public List<CL_VideoDetailed> GetFilesByGroupAndResolution(int animeID, string r
string resolution,
string videoSource, int videoBitDepth, int userID)
{
relGroupName = relGroupName == null || relGroupName.EqualsInvariantIgnoreCase("null") ? null : Uri.UnescapeDataString(relGroupName.Replace("+", " "));
relGroupName = relGroupName == null || relGroupName.EqualsInvariantIgnoreCase("null") || relGroupName.Equals(string.Empty) ? null : Uri.UnescapeDataString(relGroupName.Replace("+", " "));
videoSource = videoSource == null ? null : Uri.UnescapeDataString(videoSource.Replace("+", " "));
logger.Trace($"GetFilesByGroupAndResolution -- relGroupName: {relGroupName}");
logger.Trace($"GetFilesByGroupAndResolution -- videoSource: {videoSource}");
Expand Down Expand Up @@ -1395,7 +1395,7 @@ public List<CL_VideoDetailed> GetFilesByGroupAndResolution(int animeID, string r
[HttpGet("File/ByGroup/{animeID}/{relGroupName}/{userID}")]
public List<CL_VideoDetailed> GetFilesByGroup(int animeID, string relGroupName, int userID)
{
var grpName = relGroupName == null ? null : Uri.UnescapeDataString(relGroupName.Replace("+", " "));
var grpName = relGroupName == null || "null".EqualsInvariantIgnoreCase(relGroupName) || relGroupName.Equals(string.Empty) ? null : Uri.UnescapeDataString(relGroupName.Replace("+", " "));
var vids = new List<CL_VideoDetailed>();

try
Expand Down

0 comments on commit 312802f

Please sign in to comment.