Skip to content

Commit

Permalink
Remove add username models and method
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeblahblah committed Apr 11, 2024
1 parent 677ff76 commit bc6372a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions thrift/native.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -175,22 +175,7 @@ union DiscussionResponse {
2: DiscussionNativeError error;
}

struct AddUsernameError {
1: required string message;
}

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

union AddUsernameResponse {
1: AddUsernameApiResponse response;
2: DiscussionNativeError error;
}

service Discussion {
AddUsernameResponse addUsername(1:string username),
DiscussionResponse recommend(1:string commentId),
DiscussionResponse comment(1:string shortUrl, 2:string body),
DiscussionResponse preview(1:string body),
Expand Down

0 comments on commit bc6372a

Please sign in to comment.