Skip to content
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

Merged
merged 2 commits into from Mar 18, 2015
Merged

Dev server crash fix #204

merged 2 commits into from Mar 18, 2015

Conversation

ghost
Copy link

@ghost ghost commented Mar 14, 2015

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.

@ghost ghost mentioned this pull request Mar 14, 2015
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.

@ghost
Copy link
Author

ghost commented Mar 15, 2015

09a1463

@BerkeleyTrue
Copy link
Contributor

Sweet! Looks good. Thanks. Soon as I can test it I will merge.

@BerkeleyTrue
Copy link
Contributor

Sorry haven't got around to this yet. Will do by the end of the day.

@QuincyLarson
Copy link
Contributor

@BerkeleyTrue Are you still QA'ing this?

@BerkeleyTrue
Copy link
Contributor

Sorry dude. I have been on a support ticket for a client all day. Can you take this one?

@BerkeleyTrue
Copy link
Contributor

on it now. connects #199

@BerkeleyTrue
Copy link
Contributor

Works. There are a bunch more in this file that need to be handled properly. Will merge though as these work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants