File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
proto/decentraland/social_service/v2 Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,18 @@ package decentraland.social_service.v2;
4
4
import "google/protobuf/empty.proto" ;
5
5
6
6
// Errors
7
- message InvalidFriendshipAction {}
8
- message InternalServerError {}
9
-
7
+ message InvalidFriendshipAction {
8
+ optional string message = 1 ;
9
+ }
10
+ message InternalServerError {
11
+ optional string message = 1 ;
12
+ }
13
+ message InvalidRequest {
14
+ optional string message = 1 ;
15
+ }
16
+ message ProfileNotFound {
17
+ optional string message = 1 ;
18
+ }
10
19
// Types
11
20
message User { string address = 1 ; }
12
21
@@ -176,6 +185,8 @@ message BlockUserResponse {
176
185
oneof response {
177
186
Ok ok = 1 ;
178
187
InternalServerError internal_server_error = 2 ;
188
+ InvalidRequest invalid_request = 3 ;
189
+ ProfileNotFound profile_not_found = 4 ;
179
190
}
180
191
}
181
192
@@ -191,6 +202,8 @@ message UnblockUserResponse {
191
202
oneof response {
192
203
Ok ok = 1 ;
193
204
InternalServerError internal_server_error = 2 ;
205
+ InvalidRequest invalid_request = 3 ;
206
+ ProfileNotFound profile_not_found = 4 ;
194
207
}
195
208
}
196
209
You can’t perform that action at this time.
0 commit comments