Skip to content

Commit

Permalink
make fields required
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeblahblah committed Apr 11, 2024
1 parent b052b7e commit 677ff76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions thrift/native.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ union GetUserProfileResponse {
}

struct ReportAbuseParameters {
1: string commentId;
2: string categoryId;
1: required string commentId;
2: required string categoryId;
3: optional string reason;
4: optional string email;
}
Expand All @@ -176,11 +176,11 @@ union DiscussionResponse {
}

struct AddUsernameError {
1: string message;
1: required string message;
}

struct AddUsernameApiResponse {
1: string status;
1: required string status;
2: optional list<AddUsernameError> errors;
}

Expand Down

0 comments on commit 677ff76

Please sign in to comment.