mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 23:56:22 +00:00
fix: guardar geo como hash plano
This commit is contained in:
parent
a84ba934cb
commit
9a7de79e49
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue