Skip to content

Commit

Permalink
fix: wrong param description
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano-solutiontech committed Aug 27, 2023
1 parent ae8ea18 commit c1abfd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ In the HTML file write this:

`generate_pdf(html_path: std::path::PathBuf, assets: &[simple_pdf_generator::Asset]) -> Result<Vec<u8>, Box<dyn std::error::Error>>` returns the PDF file as a `Vec<u8>`.

| Parameter | Description |
| ---------------------------------------- | ----------------------------------- |
| `html_path: std::path::PathBuf` | PDF output dir |
| `assets: &[simple_pdf_generator::Asset]` | Object with `Puppeteer PDF Options` |
| Parameter | Description |
| ---------------------------------------- | ------------------------------------------- |
| `html_path: std::path::PathBuf` | PDF output dir |
| `assets: &[simple_pdf_generator::Asset]` | Vector of assets (it can be empty `vec![]`) |

### `simple_pdf_generator::{Asset, AssetType}`

Expand Down

0 comments on commit c1abfd5

Please sign in to comment.