Skip to content

Commit

Permalink
Use the breach title instead of the breach name as this is (probably)…
Browse files Browse the repository at this point in the history
… slightly more descriptive in some cases.
  • Loading branch information
andrew-schofield committed Apr 8, 2017
1 parent e4d06cb commit 8300c8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HaveIBeenPwned/BreachedEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public string BreachName
{
get
{
return breach.Name;
return breach.Title;
}
}

Expand Down
2 changes: 1 addition & 1 deletion HaveIBeenPwned/CloudbleedEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public DateTime BreachDate
}
}

public string Name
public string Title
{
get
{
Expand Down
2 changes: 1 addition & 1 deletion HaveIBeenPwned/IBreach.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace HaveIBeenPwned
{
public interface IBreach
{
string Name { get; }
string Title { get; }

DateTime BreachDate { get; }
}
Expand Down

0 comments on commit 8300c8b

Please sign in to comment.