mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 09:52:41 +00:00
Update editPage.jsx
This commit is contained in:
committed by
Trevor Buckner
parent
50cc757a5c
commit
63ad8b3411
@@ -134,7 +134,7 @@ const EditPage = createClass({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
request
|
request
|
||||||
.put(`/api/update/${this.props.brew.editId}`)
|
.put(`/api/${this.props.brew.editId}`)
|
||||||
.send(this.state.brew)
|
.send(this.state.brew)
|
||||||
.end((err, res)=>{
|
.end((err, res)=>{
|
||||||
if(err){
|
if(err){
|
||||||
|
|||||||
Reference in New Issue
Block a user