diff --git a/dispatch/sdk/v1/dispatch.proto b/dispatch/sdk/v1/dispatch.proto index 7f42588..a4913c7 100644 --- a/dispatch/sdk/v1/dispatch.proto +++ b/dispatch/sdk/v1/dispatch.proto @@ -32,7 +32,7 @@ message DispatchRequest { option (buf.validate.message).cel = { id: "dispatch.request.calls.endpoint.scheme", message: "Call endpoint must be a http, https or a bridge URL or an AWS Lambda ARN", - expression: "this.calls.all(call, call.endpoint.startsWith('http://') || call.endpoint.startsWith('https://') || call.endpoint.startsWith('bridge://')) || call.endpoint.startsWith('arn:aws:lambda')" + expression: "this.calls.all(call, call.endpoint.startsWith('http://') || call.endpoint.startsWith('https://') || call.endpoint.startsWith('bridge://') || call.endpoint.startsWith('arn:aws:lambda'))" }; // List of calls to dispatch.