Merge pull request #718 from pangeachat/fix-json-error
cast score as int before sending to the server
This commit is contained in:
commit
e73303afb4
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ class ActivityRecordResponse {
|
|||
'audio': audioBytes,
|
||||
'image': imageBytes,
|
||||
'timestamp': timestamp.toIso8601String(),
|
||||
'score': score,
|
||||
'score': score.toInt(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue