Skip to content

Commit 0e33c14

Browse files
author
Cuong Pham
committed
f
1 parent 45123d2 commit 0e33c14

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

StellarDotnetSdk/Responses/FriendBotResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace StellarDotnetSdk.Responses;
44
#nullable disable
55

6-
public class FriendBotResponse
6+
public class FriendBotResponse : Response
77
{
88
[JsonPropertyName("_links")]
99
public FriendBotResponseLinks Links { get; init; }

StellarDotnetSdk/Responses/OrderBookResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace StellarDotnetSdk.Responses;
66
#nullable disable
77

8-
public class OrderBookResponse
8+
public class OrderBookResponse : Response
99
{
1010
[JsonPropertyName("base")]
1111
[JsonConverter(typeof(AssetJsonConverter))]

StellarDotnetSdk/Responses/RootResponseLinks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public sealed class RootResponseLinks
5252
/// Link to the friendbot (testnet only).
5353
/// </summary>
5454
[JsonPropertyName("friendbot")]
55-
public Link? Friendbot { get; init; }
55+
public Link<FriendBotResponse>? Friendbot { get; init; }
5656

5757
/// <summary>
5858
/// Link to fetch a ledger.
@@ -100,7 +100,7 @@ public sealed class RootResponseLinks
100100
/// Link to fetch the order book.
101101
/// </summary>
102102
[JsonPropertyName("order_book")]
103-
public required Link OrderBook { get; init; }
103+
public required Link<OrderBookResponse> OrderBook { get; init; }
104104

105105
/// <summary>
106106
/// Link to fetch payments.

0 commit comments

Comments
 (0)