From 26dc36ae71905ed366f6736fe5e46b21d32d18f6 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Thu, 21 Mar 2024 16:10:54 +0100 Subject: [PATCH] Fix broken protos --- proto/accounts/accounts_v1.proto | 1 - proto/email/email_v1.proto | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/proto/accounts/accounts_v1.proto b/proto/accounts/accounts_v1.proto index e147854..3dd5b3f 100644 --- a/proto/accounts/accounts_v1.proto +++ b/proto/accounts/accounts_v1.proto @@ -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"; /** diff --git a/proto/email/email_v1.proto b/proto/email/email_v1.proto index d3da5c0..cda3d74 100644 --- a/proto/email/email_v1.proto +++ b/proto/email/email_v1.proto @@ -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; }