Skip to content

Commit

Permalink
fix subscriber loc table name (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Jun 28, 2023
1 parent 1bfdd90 commit 2c48297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile_verifier/src/subscriber_location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pub async fn aggregate_location_shares(
reward_period: &Range<DateTime<Utc>>,
) -> Result<SubscriberValidatedLocations, sqlx::Error> {
let mut rows = sqlx::query_as::<_, SubscriberLocationShare>(
"select distinct(subscriber_id) from subscriber_loc where received_timestamp >= $1 and received_timestamp < $2",
"select distinct(subscriber_id) from subscriber_loc_verified where received_timestamp >= $1 and received_timestamp < $2",
)
.bind(reward_period.start)
.bind(reward_period.end)
Expand Down

0 comments on commit 2c48297

Please sign in to comment.