1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2026-01-03 13:19:16 +00:00

Fixed titles saving

This commit is contained in:
Scott Tolksdorf
2016-05-14 13:59:21 -04:00
parent c4c09f0a69
commit 5537d974ff
6 changed files with 16 additions and 22 deletions

View File

@@ -120,7 +120,10 @@ var EditPage = React.createClass({
request
.put('/homebrew/api/update/' + this.props.brew.editId)
.send({text : this.state.text})
.send({
text : this.state.text,
title : this.state.title
})
.end((err, res) => {
console.log('done', res.body);
this.savedBrew = res.body;