Skip to content

Commit

Permalink
misc: fix typos in comments in APIv3 file controller
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Nov 17, 2024
1 parent f7c2fbc commit 493abe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"ovas",
"rescan",
"rewatching",
"scrobbling",
"seasonwide",
"seiyuu",
"shoko",
Expand Down
4 changes: 2 additions & 2 deletions Shoko.Server/API/v3/Controllers/FileController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ await scheduler.StartJob<ProcessFileJob>(c =>
/// <param name="filename">Can use this to select a specific place (if the name is different). This is mostly used as a hint for players</param>
/// <param name="streamPositionScrobbling">If this is enabled, then the file is marked as watched when the stream reaches the end.
/// This is not a good way to scrobble, but it allows for players without plugin support to have an option to scrobble.
/// The readahead buffer on the player would determine the required percentage to scrobble.</param>
/// The read-ahead buffer on the player would determine the required percentage to scrobble.</param>
/// <returns>A file stream for the specified file.</returns>
[AllowAnonymous]
[HttpGet("{fileID}/Stream")]
Expand Down Expand Up @@ -1111,7 +1111,7 @@ public async Task<ActionResult> AddFileToMyList([FromRoute, Range(1, int.MaxValu
}

/// <summary>
/// Unlink all the episodes if no body is given, or only the spesified episodes from the file.
/// Unlink all the episodes if no body is given, or only the specified episodes from the file.
/// </summary>
/// <param name="fileID">The file id.</param>
/// <param name="body">Optional. The body.</param>
Expand Down

0 comments on commit 493abe4

Please sign in to comment.