mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
on Refactor... #2
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user