Really REALLY fix instrumentation for re-registration of recently-deleted accounts

This commit is contained in:
Jon Chambers 2023-10-17 15:55:52 -04:00 committed by Jon Chambers
parent 601e9eebbd
commit 0cdc32cf65
1 changed files with 1 additions and 3 deletions

View File

@ -250,9 +250,7 @@ public class AccountsManager {
final Tags tags;
if (freshUser) {
tags = Tags.of("type", "new");
} else if (maybeRecentlyDeletedAccountIdentifier.isPresent()) {
tags = Tags.of("type", "recently-deleted");
tags = Tags.of("type", maybeRecentlyDeletedAccountIdentifier.isPresent() ? "recently-deleted" : "new");
} else {
tags = Tags.of("type", "re-registration");
}