Skip to content

Commit

Permalink
chore: remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Jan 26, 2025
1 parent 6e39b36 commit 48ca4e3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Shokofin/API/IdPrefix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ internal struct IdPrefix {
internal const char TmdbShow = 't';

internal const char TmdbMovie = 'T';

internal const char TmdbMovieCollection = 'Ʇ';
}
2 changes: 1 addition & 1 deletion Shokofin/API/Models/CrossReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class SeriesCrossReferenceIDs {
/// The Shoko ID, if the local metadata has been created yet.
/// /// </summary>
[JsonPropertyName("ID")]

public int? Shoko { get; set; }

/// <summary>
Expand Down
1 change: 0 additions & 1 deletion Shokofin/API/Models/TMDB/TmdbMovieCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace Shokofin.API.Models.TMDB;

public class TmdbMovieCollection : ITmdbEntity {

/// <summary>
/// TMDB Movie Collection ID.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion Shokofin/Resolvers/ShokoResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ NamingOptions namingOptions
Logger.LogTrace("Removing directory: {Path}", pathToRemove);
Directory.Delete(pathToRemove, true);
Logger.LogTrace("Removed directory: {Path}", pathToRemove);

}
else {
Logger.LogTrace("Removing file: {Path}", pathToRemove);
Expand Down
4 changes: 2 additions & 2 deletions Shokofin/Utils/TagFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public TagSourceIncludeOnlyAttribute(params string[] values) {
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
public class TagSourceExcludeOnlyAttribute : Attribute {
public string[] Values { get; init; }

public TagSourceExcludeOnlyAttribute(params string[] values) {
Values = values;
}
Expand All @@ -52,7 +52,7 @@ public TagSourceExcludeOnlyAttribute(params string[] values) {
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
public class TagSourceExcludeAttribute : Attribute {
public string[] Values { get; init; }

public TagSourceExcludeAttribute(params string[] values) {
Values = values;
}
Expand Down
2 changes: 1 addition & 1 deletion Shokofin/Utils/UsageTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Shokofin.Utils;

public class UsageTracker {
private static readonly TimeSpan DefaultTimeout = TimeSpan.FromSeconds(60);

private readonly ILogger<UsageTracker> Logger;

private readonly object LockObj = new();
Expand Down
1 change: 0 additions & 1 deletion Shokofin/Web/SignalRApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public async Task<ActionResult> DisconnectAsync() {
catch (Exception ex) {
Logger.LogError(ex, "Failed to disconnect from server.");
return StatusCode(StatusCodes.Status500InternalServerError);

}
}
}
Expand Down

0 comments on commit 48ca4e3

Please sign in to comment.