Skip to content

Commit e699b86

Browse files
committed
fix(example/models/person): use hyphenated attrs
1 parent 34da9a7 commit e699b86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonApiDotNetCoreExample/Models/Person.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ public class Person : Identifiable<int>
88
{
99
public override int Id { get; set; }
1010

11-
[Attr("firstName")]
11+
[Attr("first-name")]
1212
public string FirstName { get; set; }
1313

14-
[Attr("lastName")]
14+
[Attr("last-name")]
1515
public string LastName { get; set; }
1616

1717
public virtual List<TodoItem> TodoItems { get; set; }

0 commit comments

Comments
 (0)