Fix broken protos

This commit is contained in:
Nikolai Rodionov 2024-03-21 16:10:54 +01:00
parent aab79085e6
commit 26dc36ae71
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
/// This file has messages for describing environments
syntax = "proto3";
package accounts;
import "google/protobuf/empty.proto";
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts";
/**

View File

@ -9,15 +9,15 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/e
*/
service EmailValidation {
rpc SendRequest (RequestValidation) returns (google.protobuf.Empty) {}
rpc ValidateEmail (Code) returns (google.protobuf.Empty) {}
rpc ValidateEmail (ConfirmValidation) returns (google.protobuf.Empty) {}
}
message RequestValidation {
string user_id = 0;
string user_id = 1;
}
message ConfirmValidation {
string user_id = 0;
int32 code = 1;
string user_id = 1;
int32 code = 2;
}