Skip to content

Commit

Permalink
fix: use Blob in TransactionsApi
Browse files Browse the repository at this point in the history
  • Loading branch information
friedger authored and zone117x committed Nov 12, 2020
1 parent 50b0037 commit 8d7bdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/generated/apis/TransactionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface GetTransactionListRequest {
}

export interface PostCoreNodeTransactionsRequest {
body?: string;
body?: Blob;
}

/**
Expand Down Expand Up @@ -240,7 +240,7 @@ export class TransactionsApi extends runtime.BaseAPI implements TransactionsApiI

const headerParameters: runtime.HTTPHeaders = {};

headerParameters['Content-Type'] = 'text/plain';
headerParameters['Content-Type'] = 'application/octet-stream';

const response = await this.request({
path: `/v2/transactions`,
Expand Down

0 comments on commit 8d7bdbb

Please sign in to comment.