Skip to content

Commit

Permalink
Fix coverage claim time adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
maplant committed Jul 18, 2023
1 parent d886af8 commit 5cd1b75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mobile_verifier/src/coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,10 @@ impl CoveredHexStream for Pool<Postgres> {
// Adjust the coverage
let adjusted_coverage_claim_time: DateTime<Utc> = sqlx::query_scalar(
r#"
SELECT coverage_claim_time FROM seniority WHERE cbsd_id = $1 AND uuid = $2
SELECT seniority_ts FROM seniority WHERE cbsd_id = $1
"#,
)
.bind(cbsd_id)
.bind(*coverage_obj)
.fetch_one(self)
.await?;
Ok(
Expand Down

0 comments on commit 5cd1b75

Please sign in to comment.