Skip to content

Conversation

@enpopo2101
Copy link
Contributor

No description provided.

@enpopo2101 enpopo2101 requested a review from duynguyenod March 4, 2020 07:05
Copy link

@duynguyenod duynguyenod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check lại nha, 2 lỗi nhỏ.

InfoController.update = async (req, res) => {
try {
const { key } = req.body;
const infoData = await InfoService.read(key, req.body);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Có gì đó sai sai 🗡🗡🗡🗡🗡🗡🗡🗡🗡

const infoData = await InfoService.remove(req.body);
return res
.status(200)
.json({ status: 200, data: infoData, message: 'Created!' });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove mà created! 🗡🗡🗡🗡🗡🗡🗡

@duynguyenod duynguyenod merged commit ba7a239 into integration Mar 4, 2020
@duynguyenod duynguyenod deleted the feature/ODE-58-Create-Info-controller branch March 4, 2020 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants