Skip to content

Commit 44c4dd0

Browse files
committed
Update TopicDetailController.cs
1 parent 995b474 commit 44c4dd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Blog.Core/Controllers/TopicDetailController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public async Task<MessageModel<string>> Post([FromBody] TopicDetail topicDetail)
114114
[HttpPut]
115115
[Route("update")]
116116
[AllowAnonymous]
117-
public async Task<MessageModel<string>> Put(int id, [FromBody] TopicDetail topicDetail)
117+
public async Task<MessageModel<string>> Put([FromBody] TopicDetail topicDetail)
118118
{
119119
var data = new MessageModel<string>();
120120
if (topicDetail != null && topicDetail.Id > 0)

0 commit comments

Comments
 (0)