Skip to content

Commit

Permalink
fix: correct the ua.expiration metric's tag (#502)
Browse files Browse the repository at this point in the history
SYNC-3989

Co-authored-by: JR Conlin <[email protected]>
  • Loading branch information
pjenvey and jrconlin authored Nov 3, 2023
1 parent 40487b7 commit ca002ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ pub async fn process_existing_user(
app_state
.metrics
.incr_with_tags("ua.expiration")
.with_tag("errno", "104")
.with_tag("code", "104")
.send();
app_state.db.remove_user(&user.uaid).await?;
return Ok(None);
Expand All @@ -310,7 +310,7 @@ pub async fn process_existing_user(
app_state
.metrics
.incr_with_tags("ua.expiration")
.with_tag("errno", "105")
.with_tag("code", "105")
.send();
app_state.db.remove_user(&user.uaid).await?;
return Ok(None);
Expand Down

0 comments on commit ca002ec

Please sign in to comment.