Skip to content

Commit

Permalink
Fix missing auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdae committed Apr 18, 2024
1 parent 49afc1c commit e7995b7
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,11 @@ public async Task<TransactionResult> Result(TxId txId)
{
txId = txId.ToHex()
};
var request = new GraphQLRequest
var request = new GraphQLHttpRequestWithAuth
{
Query = query,
Variables = variables
Variables = variables,
Authentication = new AuthenticationHeaderValue("Bearer",Token()),
};

GraphQLResponse<TransactionResultResponse> resp;
Expand Down Expand Up @@ -154,9 +155,10 @@ public async Task<int> Tip()
}
}
}";
var request = new GraphQLRequest
var request = new GraphQLHttpRequestWithAuth
{
Query = query,
Authentication = new AuthenticationHeaderValue("Bearer",Token()),
};

GraphQLResponse<NodeStatusResponse> resp;
Expand Down

0 comments on commit e7995b7

Please sign in to comment.