Skip to content

Commit

Permalink
almost forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
SquirrelKiev committed Nov 30, 2024
1 parent a6b67aa commit 99c282a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DibariBot/Modules/Core/ParseUrl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static class ParseUrl
seriesIdentifier.series = Regex.Match(url, @"(?:\/[a-zA-Z0-9]+)?\/artworks\/([a-zA-Z0-9]+)")?.Groups[1].Value;
}

if (seriesIdentifier.platform == null)
if (seriesIdentifier.platform == null || seriesIdentifier.series == null)
return null;

return seriesIdentifier;
Expand Down

0 comments on commit 99c282a

Please sign in to comment.