changement d'ortographe
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
solidarity_service "git.coopgo.io/coopgo-apps/silvermobi/servers/grpcapi/proto"
|
||||
silvermobi "git.coopgo.io/coopgo-apps/silvermobi/servers/grpcapi/proto"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
@@ -20,15 +20,15 @@ func (h *ApplicationHandler) DriversJourney(w http.ResponseWriter, r *http.Reque
|
||||
|
||||
timestamp := timestamppb.New(departureTime)
|
||||
|
||||
request := &solidarity_service.DriverJourneysRequest{
|
||||
request := &silvermobi.DriverJourneysRequest{
|
||||
DepartureDate: timestamp,
|
||||
Departure: &solidarity_service.Feature{
|
||||
Departure: &silvermobi.Feature{
|
||||
Lat: 0,
|
||||
Long: 0,
|
||||
Address: "7 rue D",
|
||||
},
|
||||
}
|
||||
_, err := h.services.GRPC.SolidarityService.DriverJourneys(context.TODO(), request)
|
||||
_, err := h.services.GRPC.Silvermobi.DriverJourneys(context.TODO(), request)
|
||||
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
|
||||
Reference in New Issue
Block a user