Suggestions from review

pull/4458/head
crobibero 4 years ago
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…
Cancel
Save