forked from eatvio/eatvio_app
fix(blog posts, diets, plans, recipies): changed name of json field for descriptions of models
This commit is contained in:
@@ -36,7 +36,7 @@ class CreateDietRepository {
|
||||
|
||||
dietMap.addAll({
|
||||
'name': name,
|
||||
'details': details,
|
||||
'description_md': details,
|
||||
'duration': duration,
|
||||
'type[meat]': meatType,
|
||||
'type[carb]': carbType,
|
||||
@@ -115,7 +115,7 @@ class CreateDietRepository {
|
||||
dietMap.addAll({'name': name});
|
||||
}
|
||||
if (details != null) {
|
||||
dietMap.addAll({'details': details});
|
||||
dietMap.addAll({'description_md': details});
|
||||
}
|
||||
if (duration != null) {
|
||||
dietMap.addAll({'duration': duration});
|
||||
|
||||
Reference in New Issue
Block a user