Skip to content

Commit

Permalink
fix rebase artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Sep 1, 2023
1 parent 5093e9b commit 445cc47
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mobile_verifier/src/heartbeats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,12 +382,6 @@ impl ValidatedHeartbeat {
.as_ref()
.ok_or_else(|| anyhow!("failed to save cell heartbeat, invalid cbsd_id"))?;

sqlx::query("DELETE FROM heartbeats WHERE cbsd_id = $1 AND hotspot_key != $2")
.bind(cbsd_id)
.bind(&self.report.hotspot_key)
.execute(&mut *exec)
.await?;

let truncated_timestamp = self.truncated_timestamp()?;
Ok(
sqlx::query_as::<_, HeartbeatSaveResult>(
Expand Down

0 comments on commit 445cc47

Please sign in to comment.