Skip to content

Commit

Permalink
ref:
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasfisal committed Nov 29, 2024
1 parent 41800c9 commit 6c727b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/modules/public/services/home/home_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,5 +304,6 @@ func (h HomeService) ListOrders(c *gin.Context) (pagination.Pagination, error) {
}

func (h HomeService) GetOrderBy(c *gin.Context, orderNumber string) (interface{}, interface{}) {
return h.repo.GetOrder(c, orderNumber)
order, err := h.repo.GetOrder(c, orderNumber)
return CustomerRes.ToCustomerOrder(order), err
}

0 comments on commit 6c727b5

Please sign in to comment.