Skip to content

Commit

Permalink
fix: make billing_id optional in entitlement check request
Browse files Browse the repository at this point in the history
  • Loading branch information
anujk14 committed Apr 2, 2024
1 parent 2ceb023 commit 460944e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion raystack/frontier/v1beta1/frontier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,10 @@ message ListPlansResponse {
message CheckFeatureEntitlementRequest {
string org_id = 1;
// ID of the billing account to update the subscription for
string billing_id = 2 [(validate.rules).string.uuid = true];
string billing_id = 2 [(validate.rules).string = {
ignore_empty: true,
uuid: true
}];

// either provide billing_id of the org or API can infer the default
// billing ID from either org_id or project_id, not both
Expand Down

0 comments on commit 460944e

Please sign in to comment.