Skip to content

Commit

Permalink
fix: omit status from offer response
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 12, 2022
1 parent d2c1470 commit ed4a1a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/models/staging/staging.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ class Staging extends Model {
metaValue: offerResponse.offer.trade_id,
});

return _.pick(offerResponse.offer, ['offer', 'fee']);
console.log(offerResponse);

return _.omit(offerResponse, ['status']);
} catch (error) {
throw new Error(error.message);
}
Expand Down

0 comments on commit ed4a1a7

Please sign in to comment.