From fb3f1cf4df3edd24e1d325bb9dc95d0b03439c70 Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Mon, 6 Nov 2023 17:27:49 +0100 Subject: [PATCH] updateProto --- .../ad/interface/grpc-controllers/match.grpc-controller.ts | 1 + src/modules/ad/interface/grpc-controllers/matcher.proto | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts b/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts index a6bf5af..0fa7bbe 100644 --- a/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts +++ b/src/modules/ad/interface/grpc-controllers/match.grpc-controller.ts @@ -32,6 +32,7 @@ export class MatchGrpcController { @UseInterceptors(CacheInterceptor) @GrpcMethod('MatcherService', 'Match') async match(data: MatchRequestDto): Promise { + console.log(data); try { const matchingResult: MatchingResult = await this.queryBus.execute( new MatchQuery(data, this.routeProvider), diff --git a/src/modules/ad/interface/grpc-controllers/matcher.proto b/src/modules/ad/interface/grpc-controllers/matcher.proto index 45ab407..0b774e7 100644 --- a/src/modules/ad/interface/grpc-controllers/matcher.proto +++ b/src/modules/ad/interface/grpc-controllers/matcher.proto @@ -24,9 +24,8 @@ message MatchRequest { int32 azimuthMargin = 15; float maxDetourDistanceRatio = 16; float maxDetourDurationRatio = 17; - int32 identifier = 18; - optional int32 page = 19; - optional int32 perPage = 20; + optional int32 page = 18; + optional int32 perPage = 19; } message ScheduleItem {