mirror of
https://github.com/MontFerret/ferret.git
synced 2025-11-25 22:01:39 +02:00
Added Context to HTML methods (#235)
* Added Context to HTML methods * Fixed unit tests * Updated timeout * Fixed WAIT_CLASS timeout
This commit is contained in:
@@ -292,7 +292,7 @@ func PDF(ctx context.Context, args ...core.Value) (core.Value, error) {
|
||||
}
|
||||
}
|
||||
|
||||
pdf, err := doc.PrintToPDF(pdfParams)
|
||||
pdf, err := doc.PrintToPDF(ctx, pdfParams)
|
||||
|
||||
if err != nil {
|
||||
return values.None, err
|
||||
|
||||
Reference in New Issue
Block a user