Commit f3b1fddd authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Use Cassandra's Decimal type

1 merge request!235WIP: Boost Campaigns (&24)
Pipeline #73572066 passed with stages
in 9 minutes and 15 seconds
......@@ -7,8 +7,8 @@
namespace Minds\Core\Boost\Campaigns\Payments;
use Cassandra\Bigint;
use Cassandra\Decimal;
use Cassandra\Timestamp;
use Cassandra\Varint;
use Exception;
use Minds\Common\Repository\Response;
use Minds\Core\Data\Cassandra\Client as CassandraClient;
......@@ -107,7 +107,7 @@ class Repository
new Bigint($payment->getCampaignGuid()),
(string) $payment->getTx(),
(string) $payment->getSource(),
new Varint($payment->getAmount()),
new Decimal($payment->getAmount()),
new Timestamp($payment->getTimeCreated())
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment