Skip to content

Commit

Permalink
Fix fibercop regex
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocontrini committed Mar 31, 2022
1 parent 113b7db commit 5008ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FibraClickSocial/Services/FiberCopService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task<string> GetCurrentCount()

string content = await resp.Content.ReadAsStringAsync();

MatchCollection matches = Regex.Matches(content, "{lat: \\d+\\.\\d+,lng: \\d+\\.\\d+ }");
MatchCollection matches = Regex.Matches(content, "lat: \\d+\\.\\d+");

if (matches.Count == 0)
{
Expand Down

0 comments on commit 5008ce7

Please sign in to comment.