fix: rm log
This commit is contained in:
parent
3391c3fc0a
commit
abcd7df330
|
@ -3,7 +3,6 @@ package bill
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
"log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type BillHandler struct {
|
type BillHandler struct {
|
||||||
|
@ -53,8 +52,6 @@ func (h *BillHandler) createBill(c *fiber.Ctx) error {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("%v\n", bill)
|
|
||||||
|
|
||||||
err := h.billService.CreateBill(customContext, bill)
|
err := h.billService.CreateBill(customContext, bill)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return c.Status(fiber.StatusInternalServerError).JSON(&fiber.Map{
|
return c.Status(fiber.StatusInternalServerError).JSON(&fiber.Map{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user