add string orga
This commit is contained in:
parent
f0780c2a3e
commit
792ce0227e
@ -126,6 +126,8 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
|||||||
var zipCode = inputZipCode.text;
|
var zipCode = inputZipCode.text;
|
||||||
var description = inputDesc.text;
|
var description = inputDesc.text;
|
||||||
List<String> tags = List<String>.from(_stringTagController.getTags as List);
|
List<String> tags = List<String>.from(_stringTagController.getTags as List);
|
||||||
|
List<String> organizers =
|
||||||
|
List<String>.from(_stringOrgaController.getTags as List);
|
||||||
|
|
||||||
var startDateFormat = formatDate(startDatepicker.text);
|
var startDateFormat = formatDate(startDatepicker.text);
|
||||||
var endDateFormat = formatDate(endDatepicker.text);
|
var endDateFormat = formatDate(endDatepicker.text);
|
||||||
@ -136,7 +138,7 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
|||||||
print("end date : ${endDate}");
|
print("end date : ${endDate}");
|
||||||
SharedPreferences prefs = await SharedPreferences.getInstance();
|
SharedPreferences prefs = await SharedPreferences.getInstance();
|
||||||
var accessToken = prefs.getString("access_token") ?? "";
|
var accessToken = prefs.getString("access_token") ?? "";
|
||||||
List<String> send = ["toto"];
|
|
||||||
if (accessToken.isNotEmpty) {
|
if (accessToken.isNotEmpty) {
|
||||||
try {
|
try {
|
||||||
await dotenv.load();
|
await dotenv.load();
|
||||||
@ -181,7 +183,7 @@ class _UpdateeventImageState extends State<UpdateeventImage>
|
|||||||
'zip_code': zipCode,
|
'zip_code': zipCode,
|
||||||
'country': country,
|
'country': country,
|
||||||
'city': city,
|
'city': city,
|
||||||
'organizers': send,
|
'organizers': organizers,
|
||||||
'latitude': '0.0',
|
'latitude': '0.0',
|
||||||
'longitude': '0.0',
|
'longitude': '0.0',
|
||||||
'description': description,
|
'description': description,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user