Skip to content

Commit

Permalink
Revert "spark-api expects strings here"
Browse files Browse the repository at this point in the history
This reverts commit 2e361a0.
  • Loading branch information
juliangruber committed Jan 31, 2025
1 parent 1ee0900 commit 09f6de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lib/spark-api-submit-deals.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export const submitDealsToSparkApi = async (sparkApiBaseURL, sparkApiToken, deal
Authorization: `Bearer ${sparkApiToken}`
},
body: JSON.stringify(deals.map(deal => ({
minerId: String(deal.miner_id),
clientId: String(deal.client_id),
minerId: deal.miner_id,
clientId: deal.client_id,
pieceCid: deal.piece_cid,
pieceSize: deal.piece_size.toString(),
payloadCid: deal.payload_cid,
Expand Down

0 comments on commit 09f6de2

Please sign in to comment.