Skip to content

Commit

Permalink
Merge pull request #9 from winningarc/dev
Browse files Browse the repository at this point in the history
fix(post): bug about post fixed
  • Loading branch information
junbyeol authored May 31, 2020
2 parents 0f2f753 + be2b574 commit fd944d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/posts/posts.ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ exports.write = async (ctx) => {
title: title,
author: author,
content: content,
bulletinId: parseInt(bulletinId),
bulletin_id: parseInt(bulletinId),
};
console.log(post);
await models.post
.create(post)
.then((res) => {
Expand Down

0 comments on commit fd944d9

Please sign in to comment.