Skip to content

Commit

Permalink
fix sum type for output decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgrunewald committed Aug 13, 2024
1 parent 5983704 commit 14258ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile_verifier/src/subscriber_verified_mapping_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ pub async fn aggregate_verified_mapping_events(
let vsme_shares = sqlx::query_as::<_, VerifiedSubscriberVerifiedMappingEventShare>(
"SELECT
subscriber_id,
SUM(total_reward_points) AS total_reward_points
SUM(total_reward_points)::BIGINT AS total_reward_points
FROM
subscriber_verified_mapping_event
WHERE received_timestamp >= $1 AND received_timestamp < $2
Expand Down

0 comments on commit 14258ae

Please sign in to comment.