-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/book review api #70
Conversation
@@ -10,7 +10,10 @@ import returnCode from "../library/returnCode"; | |||
// slack | |||
import slack from "../others/slack/slack"; | |||
|
|||
export default (req: Request, res: Response, next) => { | |||
import User from "../models/User"; | |||
import { promises } from "fs"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안쓰는 라브 지우기~
) => { | ||
if (!isbn || !title || !author) { | ||
if (!isbn || !title || !author || !translator || !publicationDate) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음.....?
title: book.title, | ||
authors: book.author, | ||
translators: book.translator, | ||
publicationDate: book.publication_dt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카멜케이스 쓰세요 ㅋ
✅ PR check list
🌈 PR 요약
📌 변경 사항
Linked Issue
close #68