Avoid mutating frozen node query results (#324)

This commit is contained in:
l5y
2025-10-13 17:22:34 +02:00
committed by GitHub
parent ffad84f18a
commit 63beb2ea6b
+1 -1
View File
@@ -159,7 +159,7 @@ module PotatoMesh
params << limit
rows = db.execute(sql, params)
rows.select! do |r|
rows = rows.select do |r|
last_candidate = [r["last_heard"], r["position_time"], r["first_heard"]]
.map { |value| coerce_integer(value) }
.compact