Commit 40b2f00d by Torkel Ödegaard

fix(): fixed from db -> json

parent 749da42f
......@@ -26,6 +26,10 @@ func (j *Json) FromDB(data []byte) error {
}
func (j *Json) ToDB() ([]byte, error) {
if j == nil || j.data == nil {
return nil, nil
}
return j.Encode()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment