generated from VLADIMIR/template
add refresh-password route
This commit is contained in:
@@ -24,6 +24,13 @@ service EveningDetectiveServer {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc RefreshPassword(RefreshPasswordReq) returns (RefreshPasswordRsp) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/refresh-password"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message PingReq {}
|
||||
@@ -46,3 +53,11 @@ message SignupReq {
|
||||
message SignupRsp {
|
||||
string error = 1;
|
||||
}
|
||||
|
||||
message RefreshPasswordReq {
|
||||
string email = 1;
|
||||
}
|
||||
|
||||
message RefreshPasswordRsp {
|
||||
string error = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user