Skip to content

Commit 3f830d1

Browse files
committed
add FromBody attribute?
1 parent f881330 commit 3f830d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rubberduckvba.Server/Api/Admin/WebhookController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public WebhookController(
2222

2323
[Authorize("webhook")]
2424
[HttpPost("webhook/github")]
25-
public async Task<IActionResult> GitHub(dynamic body)
25+
public async Task<IActionResult> GitHub([FromBody] dynamic body)
2626
{
2727
//var reader = new StreamReader(Request.Body);
2828
//var json = await reader.ReadToEndAsync();

0 commit comments

Comments
 (0)