drop dead solver and pdf code, fix reputation and truncation

This commit is contained in:
2026-08-23 17:51:46 +03:00
parent 093b27f3f4
commit aa70c61abd
3 changed files with 9 additions and 139 deletions
+1 -1
View File
@@ -890,7 +890,7 @@ async fn handle_leaderboard(state: &Arc<AppState>, activity: &serde_json::Value,
// check instance reputation
let reputation: f64 = dbi.db.query_row(
"SELECT reputation FROM ap_instance_reputation WHERE domain = ?1",
"SELECT score FROM ap_instance_reputation WHERE domain = ?1",
[origin], |row| row.get(0),
).unwrap_or(100.0);
if reputation < 30.0 {