Open sohilpandya opened 8 years ago
https://github.com/sockinit/console.blog/blob/master/server/blogDB.js#L21-L51
the function retrieveBlogs, should be created outside, preferably in a different file and then be exported into this file, that way its stays modular and easy on the eyes.
What was the reason behind creating it and then using it straight away?
Thanks sohil, the latest version is modularised and has these issues sorted out (just not merged yet)
https://github.com/sockinit/console.blog/blob/master/server/blogDB.js#L21-L51
the function retrieveBlogs, should be created outside, preferably in a different file and then be exported into this file, that way its stays modular and easy on the eyes.
What was the reason behind creating it and then using it straight away?