Skip to content

Commit

Permalink
Minor fix to allow @id referencing (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
openactive-bot authored Nov 23, 2021
1 parent 20b489c commit 33858c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OpenActive.NET/models/Organization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public override string ToString()
/// </summary>
[DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 12)]
[JsonConverter(typeof(ValuesConverter))]
public virtual CustomerAccount HasAccount { get; set; }
public virtual ReferenceValue<CustomerAccount> HasAccount { get; set; }

/// <summary>
/// Indicates whether the Seller allows open booking or not
Expand Down
2 changes: 1 addition & 1 deletion OpenActive.NET/models/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public override string ToString()
/// </summary>
[DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 16)]
[JsonConverter(typeof(ValuesConverter))]
public virtual CustomerAccount HasAccount { get; set; }
public virtual ReferenceValue<CustomerAccount> HasAccount { get; set; }

/// <summary>
/// Indicates whether the Seller allows open booking
Expand Down

0 comments on commit 33858c4

Please sign in to comment.