1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 18:56:22 +00:00

on Refactor... #2

This commit is contained in:
Rokt33r
2015-08-18 03:46:09 +09:00
parent 23b8b49c00
commit d8cb93fb10
16 changed files with 389 additions and 244 deletions

View File

@@ -37,8 +37,7 @@ module.exports = React.createClass({
}.bind(this))
.catch(function (err) {
var res = err.response
console.log(res)
console.log(err.status)
console.error(res.body)
if (err.status === 409) {
// Confliction
var emailConflicted = res.body.errors[0].path === 'email'