wip: checkpoint multi-game core work
This commit is contained in:
@@ -69,7 +69,7 @@ pub async fn increment_metric(
|
||||
|
||||
for def in defs
|
||||
.iter()
|
||||
.filter(|d| format!("{:?}", d.metric).to_lowercase() == metric)
|
||||
.filter(|d| d.metric.as_str() == metric)
|
||||
{
|
||||
let existing = sqlx::query_as::<_, ObjectiveProgress>(
|
||||
"SELECT id, profile_id, objective_id, current, completed, claimed, updated_at FROM objective_progress WHERE profile_id = ? AND objective_id = ?"
|
||||
|
||||
Reference in New Issue
Block a user