mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-07 00:05:01 +01:00
Fix type error that prevented an image from being edited
This commit is contained in:
1 parent
c8d1d1ad84
commit
65129f000a
1 file changed
+1
-1
@@ -89,7 +89,7 @@ class GalleryProvider extends WgerBaseProvider with ChangeNotifier {
|
||||
|
||||
// Update image info
|
||||
final data = image.toJson();
|
||||
request.fields['id'] = data['id'];
|
||||
request.fields['id'] = data['id'].toString();
|
||||
request.fields['date'] = data['date'];
|
||||
request.fields['description'] = data['description'];
|
||||
|
||||
|
||||
Reference in new issue
Block a user