Fmt
This commit is contained in:
parent
479ef92236
commit
c38d654ac7
44 changed files with 2526 additions and 701 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue