feat: improve GetUser request
This commit is contained in:
parent
360832a5ab
commit
11644adc88
1 changed files with 1 additions and 2 deletions
|
@ -18,14 +18,12 @@ service UserService {
|
|||
rpc Logout(google.protobuf.Empty) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
post: "/session/logout"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc Refresh(google.protobuf.Empty) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
post: "/session/refresh"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -99,6 +97,7 @@ message CreateUserResponse {
|
|||
|
||||
message GetUserRequest {
|
||||
int32 id = 1;
|
||||
bool me = 2;
|
||||
}
|
||||
|
||||
message GetUserResponse {
|
||||
|
|
Loading…
Add table
Reference in a new issue