From bc6372a62926717d297aba049a4c31cd133e434b Mon Sep 17 00:00:00 2001 From: George B <705427+georgeblahblah@users.noreply.github.com> Date: Thu, 11 Apr 2024 17:13:36 +0100 Subject: [PATCH] Remove add username models and method --- thrift/native.thrift | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/thrift/native.thrift b/thrift/native.thrift index ea16ac1..7535e9f 100644 --- a/thrift/native.thrift +++ b/thrift/native.thrift @@ -175,22 +175,7 @@ union DiscussionResponse { 2: DiscussionNativeError error; } -struct AddUsernameError { - 1: required string message; -} - -struct AddUsernameApiResponse { - 1: required string status; - 2: optional list 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),