Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

Commit d9996a7

Browse files
committed
Fix obsolete usage of CompressionLevel in README
1 parent dc57b79 commit d9996a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public abstract class ExcelResultBase : ActionResult
216216
context.HttpContext.Response.ContentType = "application/octet-stream";
217217
context.HttpContext.Response.StatusCode = (int)HttpStatusCode.OK;
218218
context.HttpContext.Response.AppendHeader("content-disposition", "attachment; filename=\"" + _filename + "\"");
219-
workbook.Save(context.HttpContext.Response.OutputStream, CompressionLevel.NoCompression);
219+
workbook.Save(context.HttpContext.Response.OutputStream);
220220
}
221221
}
222222
```

0 commit comments

Comments
 (0)