update recipe detail
This commit is contained in:
parent
d52cad09fd
commit
9279ef0247
11 changed files with 58 additions and 123 deletions
|
|
@ -33,7 +33,7 @@ type Data struct {
|
|||
func NewData() *Data {
|
||||
|
||||
countries := []helpers.CountryName{{
|
||||
CountryID: "thai",
|
||||
CountryID: "tha",
|
||||
CountryName: "Thailand",
|
||||
}, {
|
||||
CountryID: "mys",
|
||||
|
|
@ -46,8 +46,8 @@ func NewData() *Data {
|
|||
|
||||
allRecipeFiles := helpers.ScanRecipeFiles(countries)
|
||||
|
||||
defaultFile := "coffeethai02_580.json"
|
||||
defaultCountry := "thai"
|
||||
defaultFile := "coffeethai02_600.json"
|
||||
defaultCountry := "tha"
|
||||
defaultRecipe, err := helpers.ReadRecipeFile(defaultCountry, defaultFile)
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue