5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:36:22 +00:00

fix: guardar geo como hash plano

This commit is contained in:
f 2024-05-24 13:43:08 -03:00
parent a84ba934cb
commit 9a7de79e49
No known key found for this signature in database

View file

@ -14,7 +14,7 @@ class MetadataGeo < MetadataTemplate
return true unless changed?
return true if empty?
self[:value] = value.transform_values(&:to_f)
self[:value] = value.transform_values(&:to_f).to_h
self[:value] = encrypt(value) if private?
true