updateProto
This commit is contained in:
parent
703865dc38
commit
fb3f1cf4df
|
@ -32,6 +32,7 @@ export class MatchGrpcController {
|
||||||
@UseInterceptors(CacheInterceptor)
|
@UseInterceptors(CacheInterceptor)
|
||||||
@GrpcMethod('MatcherService', 'Match')
|
@GrpcMethod('MatcherService', 'Match')
|
||||||
async match(data: MatchRequestDto): Promise<MatchingPaginatedResponseDto> {
|
async match(data: MatchRequestDto): Promise<MatchingPaginatedResponseDto> {
|
||||||
|
console.log(data);
|
||||||
try {
|
try {
|
||||||
const matchingResult: MatchingResult = await this.queryBus.execute(
|
const matchingResult: MatchingResult = await this.queryBus.execute(
|
||||||
new MatchQuery(data, this.routeProvider),
|
new MatchQuery(data, this.routeProvider),
|
||||||
|
|
|
@ -24,9 +24,8 @@ message MatchRequest {
|
||||||
int32 azimuthMargin = 15;
|
int32 azimuthMargin = 15;
|
||||||
float maxDetourDistanceRatio = 16;
|
float maxDetourDistanceRatio = 16;
|
||||||
float maxDetourDurationRatio = 17;
|
float maxDetourDurationRatio = 17;
|
||||||
int32 identifier = 18;
|
optional int32 page = 18;
|
||||||
optional int32 page = 19;
|
optional int32 perPage = 19;
|
||||||
optional int32 perPage = 20;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message ScheduleItem {
|
message ScheduleItem {
|
||||||
|
|
Loading…
Reference in New Issue