Skip to content

Commit 1cba9a3

Browse files
committed
Fix profile init
1 parent c76eedd commit 1cba9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PeerBerry.API/PeerBerryClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public async Task InitializeUsingTokensAsync(string accessToken, string refreshT
8888
public async Task<BalanceMainReponse?> GetBalanceMainAsync()
8989
=> await SendRequest<BalanceMainReponse>(HttpMethod.Get, "v2/investor/balance/main", true);
9090
public async Task<ProfileResponse?> GetProfileAsync()
91-
=> await SendRequest<ProfileResponse>(HttpMethod.Get, $"v2/investor/profile", true);
91+
=> await SendRequest<ProfileResponse>(HttpMethod.Get, $"v2/investor/profile", false);
9292

9393
public async Task<LoansResponse?> GetLoansAsync(int offset = 0, int pageSize = 40, Dictionary<string, string?>? searchParams = null, string sort = "-loanId")
9494
{

0 commit comments

Comments
 (0)