Fix broken protos
This commit is contained in:
parent
aab79085e6
commit
26dc36ae71
@ -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";
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user