mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
Pulled and merged the latest code from master
This commit is contained in:
@@ -35,8 +35,7 @@ class Writing_Microblogs extends Component {
|
||||
handleSubmit(event) {
|
||||
|
||||
const postData = {
|
||||
body: this.state.value,
|
||||
|
||||
body: this.state.value,
|
||||
userImage: "bing-url",
|
||||
microBlogTitle: this.state.title,
|
||||
microBlogTopics: this.state.topics.split(', ')
|
||||
@@ -46,7 +45,7 @@ class Writing_Microblogs extends Component {
|
||||
}
|
||||
|
||||
axios
|
||||
.post('/putPost', postData, headers)
|
||||
.post("/putPost", postData, headers)
|
||||
.then((res) =>{
|
||||
alert('Post was shared successfully!')
|
||||
console.log(res.data);
|
||||
|
||||
Reference in New Issue
Block a user