mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
updates to static pipeline
This commit is contained in:
parent
059028da02
commit
dbcabd6df6
7 changed files with 58 additions and 48 deletions
|
@ -51,14 +51,5 @@ namespace NzbDrone.Api.Frontend.Mappers
|
|||
return File.OpenRead(filePath);
|
||||
}
|
||||
|
||||
protected static Stream StringToStream(string text)
|
||||
{
|
||||
var stream = new MemoryStream();
|
||||
var writer = new StreamWriter(stream);
|
||||
writer.Write(text);
|
||||
writer.Flush();
|
||||
stream.Position = 0;
|
||||
return stream;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue