mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Suggestions from review
This commit is contained in:
parent
843847fc93
commit
3f313206c6
@ -48,7 +48,7 @@ namespace Jellyfin.Api.Helpers
|
||||
if (line == null)
|
||||
{
|
||||
// Nothing currently in buffer.
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
if (line.IndexOf("#EXTINF:", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
|
@ -54,7 +54,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
var usersReset = new List<string>();
|
||||
foreach (var resetFile in Directory.EnumerateFiles(_passwordResetFileBaseDir, $"{BaseResetFileName}*"))
|
||||
{
|
||||
SerializablePasswordReset? spr;
|
||||
SerializablePasswordReset spr;
|
||||
await using (var str = File.OpenRead(resetFile))
|
||||
{
|
||||
spr = await JsonSerializer.DeserializeAsync<SerializablePasswordReset>(str).ConfigureAwait(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user