Skip to content

Commit

Permalink
Change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinUW114514 committed Feb 24, 2023
1 parent e2cdad8 commit d60774a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/posts/Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Post() {
axios
.post("http://localhost:3001/comments", {
commentBody: newComment,
PostId: id,
postId: id,
})
.then((response) => {
const commentToAdd = { commentBody: newComment };
Expand Down

0 comments on commit d60774a

Please sign in to comment.