add tags to api
This commit is contained in:
parent
b1ca67ed72
commit
4d73360f74
@ -122,6 +122,7 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
||||
var country = inputCountry.text;
|
||||
var zipCode = inputZipCode.text;
|
||||
var description = inputDesc.text;
|
||||
List<String> tags = List<String>.from(_stringTagController.getTags as List);
|
||||
|
||||
var startDateFormat = formatDate(startDatepicker.text);
|
||||
var endDateFormat = formatDate(endDatepicker.text);
|
||||
@ -181,7 +182,8 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
||||
'latitude': '0.0',
|
||||
'longitude': '0.0',
|
||||
'description': description,
|
||||
"imgUrl": imgUrl
|
||||
"imgUrl": imgUrl,
|
||||
"tags": tags
|
||||
}));
|
||||
print(responsePut.statusCode);
|
||||
if ((responsePut.statusCode == 200) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user