Added Transaction offer
This commit was merged in pull request #17.
This commit is contained in:
@@ -80,7 +80,7 @@ class TransactionOfferService:
|
||||
'max_amount': offer.max_amount,
|
||||
'eligible_amount': offer.eligible_amount,
|
||||
'tenor': offer.tenor,
|
||||
'created_at': offer.created_at.isoformat(),
|
||||
'created_at': offer.created_at.isoformat() if offer.created_at else None,
|
||||
'updated_at': offer.updated_at.isoformat() if offer.updated_at else None
|
||||
})
|
||||
|
||||
@@ -106,4 +106,4 @@ class TransactionOfferService:
|
||||
logger.error(f"An error occurred: {str(e)}", exc_info=True)
|
||||
return jsonify({
|
||||
"message": "Internal Server Error"
|
||||
}), 500
|
||||
}), 500
|
||||
|
||||
Reference in New Issue
Block a user