Skip to content

Commit 6f4d3cb

Browse files
committed
remove debug logging
1 parent 520bb71 commit 6f4d3cb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ClassTranscribeServer/Controllers/CaptionsController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class CaptionsController : BaseController
2525
private readonly CaptionQueries _captionQueries;
2626
private readonly SubParser parser = new SubParser();
2727
private readonly UserUtils _userUtils;
28-
private ILogger<CaptionsController> _logger;
2928

3029
public CaptionsController(WakeDownloader wakeDownloader,
3130
CTDbContext context,
@@ -35,7 +34,6 @@ public CaptionsController(WakeDownloader wakeDownloader,
3534
_captionQueries = captionQueries;
3635
_wakeDownloader = wakeDownloader;
3736
_userUtils = userUtils;
38-
_logger = logger;
3937
}
4038

4139
// GET: api/Captions/ByTranscription/5
@@ -99,7 +97,6 @@ public async Task<ActionResult<Caption>> PostCaption(Caption modifiedCaption)
9997
{
10098
// This endpoint should handle deletion as well, which is represented by posting a caption
10199
// with the empty string as text.
102-
_logger.LogInformation("DEBUG Id: {Id}, Text: {Text}, Begin: {Begin}, End: {End}", modifiedCaption.Id, modifiedCaption.Text, modifiedCaption.Begin, modifiedCaption.End);
103100

104101
// This endpoint should be accessible only for people who are logged in
105102
var user = await _userUtils.GetUser(User);

0 commit comments

Comments
 (0)