fixed little goof i made
This commit is contained in:
@@ -5,23 +5,21 @@ ServerEvents.recipes(e => {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ServerEvents.recipes(event => {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let recipes=[];
|
let recipes=[];
|
||||||
event.forEachRecipe({},r=>{
|
e.forEachRecipe({},r=>{
|
||||||
// console.log("recipe",r.json.toString())
|
// console.log("recipe",r.json.toString())
|
||||||
recipes.push(JSON.parse(r.json.toString()));
|
recipes.push(JSON.parse(r.json.toString()));
|
||||||
});
|
});
|
||||||
let recipe=JSON.stringify(recipes);
|
let recipe=JSON.stringify(recipes);
|
||||||
console.log(recipe);
|
console.log(recipe);
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user