Skip to content
Snippets Groups Projects
Commit ff635e9f authored by Guilherme Arthur Gerônimo's avatar Guilherme Arthur Gerônimo
Browse files

Double Encoded - Fixing #4

parent 325dd09c
No related branches found
No related tags found
2 merge requests!10Updates to implement finish, process MultiSmartData for v1.2 (Mobile)...,!9Updates to implement finish, process MultiSmartData for v1.2 (Mobile)...
......@@ -141,11 +141,7 @@ abstract class SmartData
$json['version'] = $this->version;
$json['unit'] = $this->unit->cod;
$json['timestamp'] = $this->time;
if ( $this->unit->is_digital() ) {
$json['value'] = base64_encode($this->value);
} else {
$json['value'] = $this->value;
}
$json['value'] = $this->value;
$json['error'] = $this->error;
$json['confidence'] = $this->confidence;
$json['x'] = $this->x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment