Skip to content

Commit

Permalink
refactor: set SELL literal
Browse files Browse the repository at this point in the history
  • Loading branch information
sarneijim committed Oct 7, 2024
1 parent 39b9d14 commit ffda9b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/exchange-module/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ export class ExchangeModule extends CustomModule {
*
* @returns - A transaction ID used to complete the exchange process
*/
async startSell({ provider, exchangeType }: ExchangeStartSellParams) {
async startSell({ provider }: Omit<ExchangeStartSellParams, "exchangeType">) {
const result = await this.request<ExchangeStartSellParams, ExchangeStartResult>(
"custom.exchange.start",
{
exchangeType,
exchangeType: "SELL",
provider,
},
);
Expand Down

0 comments on commit ffda9b9

Please sign in to comment.