mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-13 18:40:58 +08:00
feat: 处理添加表情偶现失败的问题
This commit is contained in:
@@ -27,7 +27,6 @@ public class ReactionController {
|
||||
}
|
||||
|
||||
@PostMapping("/posts/{postId}/reactions")
|
||||
@Transactional
|
||||
public ResponseEntity<ReactionDto> reactToPost(@PathVariable Long postId,
|
||||
@RequestBody ReactionRequest req,
|
||||
Authentication auth) {
|
||||
@@ -41,7 +40,6 @@ public class ReactionController {
|
||||
}
|
||||
|
||||
@PostMapping("/comments/{commentId}/reactions")
|
||||
@Transactional
|
||||
public ResponseEntity<ReactionDto> reactToComment(@PathVariable Long commentId,
|
||||
@RequestBody ReactionRequest req,
|
||||
Authentication auth) {
|
||||
|
||||
Reference in New Issue
Block a user