add routes in main

This commit is contained in:
Maxime 2025-02-05 09:25:21 +01:00
parent 726584b0fb
commit a04e53b47f
2 changed files with 3 additions and 4 deletions

View File

@ -143,7 +143,6 @@ func (h *ApplicationHandler) SolidarityService(w http.ResponseWriter, r *http.Re
drivers, err := h.services.GRPC.SolidarityService.GetAllDrivers(context.TODO(), &emptypb.Empty{}) drivers, err := h.services.GRPC.SolidarityService.GetAllDrivers(context.TODO(), &emptypb.Empty{})
bookings, err := h.services.GRPC.SolidarityService.GetAllBookingsSolidarity(context.TODO(), &emptypb.Empty{}) bookings, err := h.services.GRPC.SolidarityService.GetAllBookingsSolidarity(context.TODO(), &emptypb.Empty{})
parcourmobAccounts, err := h.beneficiaries(r) parcourmobAccounts, err := h.beneficiaries(r)
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)