This commit is contained in:
Andras Schmelczer 2026-03-15 21:22:28 +00:00
parent 479ef92236
commit c38d654ac7
44 changed files with 2526 additions and 701 deletions

View file

@ -820,8 +820,7 @@ async fn poll_pocketbase_counts(state: &AppState) {
("type", "redeemed"),
),
] {
if let Some(total) = pb_count(&state.http_client, pb_url, &token, "invites", filter).await
{
if let Some(total) = pb_count(&state.http_client, pb_url, &token, "invites", filter).await {
gauge!(metric, labels.0 => labels.1.to_string()).set(total as f64);
}
}