fixing/simplifying godoc

This commit is contained in:
Julien Neuhart
2018-12-13 17:06:29 +01:00
parent 2cedcecc38
commit 404535c512
3 changed files with 4 additions and 49 deletions

View File

@@ -94,7 +94,7 @@ func print(c echo.Context, p printer.Printer, r *resource) error {
if r.webhookURL() == "" {
// if no webhook URL given, run conversion
// and directly return the resulting PDF file
// or and error.
// or an error.
if err := p.Print(fpath); err != nil {
return err
}