Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
/// <summary>
/// testing
/// </summary>
/// <param name="stuff"></param>

Check failure on line 23 in src/Nullinside.Api.TwitchBot/Controllers/TwitchWebHookController.cs

View workflow job for this annotation

GitHub Actions / Roslyn Compiler Warnings

XML comment has a param tag for 'stuff', but there is no parameter by that name

Check failure on line 23 in src/Nullinside.Api.TwitchBot/Controllers/TwitchWebHookController.cs

View workflow job for this annotation

GitHub Actions / Roslyn Compiler Warnings

XML comment has a param tag for 'stuff', but there is no parameter by that name

Check warning on line 23 in src/Nullinside.Api.TwitchBot/Controllers/TwitchWebHookController.cs

View workflow job for this annotation

GitHub Actions / Tests

XML comment has a param tag for 'stuff', but there is no parameter by that name

Check warning on line 23 in src/Nullinside.Api.TwitchBot/Controllers/TwitchWebHookController.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

XML comment has a param tag for 'stuff', but there is no parameter by that name

Check warning on line 23 in src/Nullinside.Api.TwitchBot/Controllers/TwitchWebHookController.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

XML comment has a param tag for 'stuff', but there is no parameter by that name
/// <param name="token"></param>
/// <returns></returns>
[HttpPost]
[Route("chat")]
public IActionResult TwitchChatMessageCallback(string stuff, CancellationToken token) {
_log.Info(stuff);
public async Task<IActionResult> TwitchChatMessageCallback(CancellationToken token) {
using StreamReader stream = new StreamReader(this.HttpContext.Request.Body);
string stuff = await stream.ReadToEndAsync(token);
_log.Info($"TwitchChatMessageCallback: {stuff}");
return Ok(true);
}
}
Loading