-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev server crash fix #204
Dev server crash fix #204
Conversation
res.send({"trello": trello}); | ||
}); | ||
}, | ||
bloggerCalls: function(req, res) { | ||
request('https://www.googleapis.com/blogger/v3/blogs/2421288658305323950/posts?key=' + secrets.blogger.key, function (err, status, blog) { | ||
blog = blog.length > 100 ? JSON.parse(blog) : ''; | ||
blog = (status && status.statusCode == 200) ? JSON.parse(blog) : ''; | ||
res.send({ |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Sweet! Looks good. Thanks. Soon as I can test it I will merge. |
Sorry haven't got around to this yet. Will do by the end of the day. |
@BerkeleyTrue Are you still QA'ing this? |
Sorry dude. I have been on a support ticket for a client all day. Can you take this one? |
on it now. connects #199 |
Works. There are a bunch more in this file that need to be handled properly. Will merge though as these work. |
Fix for #199.
Checks that the request returned a 200. API fails return 400/401.
THIS NEEDS TO BE TESTED WITH REAL API KEYS. I don't have any.