False positive, only type

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-15 06:29:44 +02:00
parent d5bb87af27
commit 7b33b3fe70

View file

@ -192,7 +192,7 @@ class FiresApi {
"token": state.firesApiKey,
"mobileToken": mobileToken,
"sealed": sealed,
"type": type.toString()
"type": type.toString().split('.')[1]
};
final String url = '${state.firesApiUrl}mobile/falsepositive';
return await resty.post(url).json(params).go().then((response) {