From 804d08cabae2480c27df38ac59c761d87d1fb29e Mon Sep 17 00:00:00 2001 From: Ruidy Date: Wed, 21 Feb 2024 22:38:08 +0100 Subject: [PATCH] update readme --- README.md | 1 + internal/server/handle_pdf.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 939f293..2eb04ce 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Manage your holiday rental - [ ] Refactor the env variable calls to a Config struct with proper defaults - [x] Refactor handlers to call their dependencies instead of taking them from the Server struct - [ ] Embed mandatory assets, css in the executable +- [ ] Calendar to store new booking in calendar ## Built With diff --git a/internal/server/handle_pdf.go b/internal/server/handle_pdf.go index fae3948..790359a 100644 --- a/internal/server/handle_pdf.go +++ b/internal/server/handle_pdf.go @@ -11,7 +11,6 @@ import ( func handleCreateInvoicePdf(bs *booking.Service, ps *pdf.PdfService) echo.HandlerFunc { return func(c echo.Context) error { idStr := c.Param("id") - c.Logger().Info(idStr) id, err := strconv.Atoi(idStr) if err != nil { return err