mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
update readme
This commit is contained in:
parent
43ab1f59d2
commit
804d08caba
2 changed files with 1 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ Manage your holiday rental
|
||||||
- [ ] Refactor the env variable calls to a Config struct with proper defaults
|
- [ ] 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
|
- [x] Refactor handlers to call their dependencies instead of taking them from the Server struct
|
||||||
- [ ] Embed mandatory assets, css in the executable
|
- [ ] Embed mandatory assets, css in the executable
|
||||||
|
- [ ] Calendar to store new booking in calendar
|
||||||
|
|
||||||
## Built With
|
## Built With
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ import (
|
||||||
func handleCreateInvoicePdf(bs *booking.Service, ps *pdf.PdfService) echo.HandlerFunc {
|
func handleCreateInvoicePdf(bs *booking.Service, ps *pdf.PdfService) echo.HandlerFunc {
|
||||||
return func(c echo.Context) error {
|
return func(c echo.Context) error {
|
||||||
idStr := c.Param("id")
|
idStr := c.Param("id")
|
||||||
c.Logger().Info(idStr)
|
|
||||||
id, err := strconv.Atoi(idStr)
|
id, err := strconv.Atoi(idStr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue