Фикс пути до темплейта
All checks were successful
Build and deploy / Publish image (push) Successful in 5m0s
All checks were successful
Build and deploy / Publish image (push) Successful in 5m0s
This commit is contained in:
@@ -23,7 +23,7 @@ public class StatementGenerator(GotenbergSharpClient gotenbergSharpClient) : ISt
|
||||
|
||||
public async Task<MemoryStream> GenerateStatementAsync(UserData userData)
|
||||
{
|
||||
byte[] textByteArray = File.ReadAllBytes(@"C:\Users\Sergey\Desktop\test.docx");
|
||||
byte[] textByteArray = File.ReadAllBytes("Templates/ictis.docx");
|
||||
MemoryStream stream = new MemoryStream();
|
||||
stream.Write(textByteArray, 0, textByteArray.Length);
|
||||
using (WordprocessingDocument doc = WordprocessingDocument.Open(stream, true))
|
||||
|
||||
Reference in New Issue
Block a user