forked from eatvio/eatvio_app
feat(consultant): add requests for upload photo, register consultant profile, state manager
This commit is contained in:
@@ -81,8 +81,8 @@ class BlogPostCreateBloc extends Bloc<BlogPostCreateEvent, BlogPostCreateState>
|
||||
FormData formData = FormData.fromMap({
|
||||
'title': title,
|
||||
'description': description,
|
||||
'youtube_url': youtubeURL,
|
||||
'state': 'active',
|
||||
'youtube_url': youtubeURL,
|
||||
'image': await MultipartFile.fromFile(image!.path, filename: image.name),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user