update recipe detail

This commit is contained in:
Kenta420 2023-11-27 19:58:07 +07:00
parent d52cad09fd
commit 9279ef0247
11 changed files with 58 additions and 123 deletions

View file

@ -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 {