优化博客与博客评论关系
This commit is contained in:
@@ -94,10 +94,10 @@ export class BlogController {
|
||||
|
||||
const comment = {
|
||||
...commentData,
|
||||
blogId: id,
|
||||
user: user,
|
||||
ip: ip,
|
||||
address: address,
|
||||
blog,
|
||||
user,
|
||||
ip,
|
||||
address,
|
||||
};
|
||||
|
||||
return await this.blogService.createComment(comment);
|
||||
|
||||
Reference in New Issue
Block a user