Skip to content

Commit

Permalink
pb: fix style issue in Ads message
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  • Loading branch information
ahmetb committed Aug 16, 2018
1 parent fad711b commit 390e489
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pb/demo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -230,14 +230,13 @@ message AdsRequest {
}

message AdsResponse {
repeated Ads ads = 1;
repeated Ad ads = 1;
}

message Ads {
message Ad {
// url to redirect to when an ad is clicked.
string redirect_url = 1;

// Optional text to display.
// Should not be more than 100 characters.
// short advertisement text to display.
string text = 2;
}

0 comments on commit 390e489

Please sign in to comment.