Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues were with not correctly casting the final reference to the recipe (needed to be cast to map[string]interface{} but wasn't, so was instead interface{}, a non-indexable type). There's currently an issue with TakeItem where it's not fetching the inventory correctly from the database. That needs further investigation. I suspect it's something to do with db.Get not correctly interpreting the JSON data. Also, the issue with `recipe_index` not passing the Required check was due to the validator interpreting indicies of "1" as invalid. More investigation required. TODO: Debug Required check on recipe_index TODO: Investigate TakeItem issues as noted above Issue: #1 Signed-Off-By: Cara Salter <[email protected]>
- Loading branch information