summaryrefslogtreecommitdiffstats
path: root/lib/sellershut-core/proto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sellershut-core/proto')
-rw-r--r--lib/sellershut-core/proto/users/users.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sellershut-core/proto/users/users.proto b/lib/sellershut-core/proto/users/users.proto
index 8c7b41d..bbc8188 100644
--- a/lib/sellershut-core/proto/users/users.proto
+++ b/lib/sellershut-core/proto/users/users.proto
@@ -46,6 +46,8 @@ message CreateUserRequest {
string email = 1;
// Avatar for the new user
optional string avatar = 2;
+ // Public key
+ string public_key = 3;
}
// Response message for CreateUser RPC
@@ -70,10 +72,8 @@ message CompleteUserRequest {
string outbox = 6;
// Is this user local or remote
bool local = 7;
- // Public key for this user
- string public_key = 8;
// User type
- UserType user_type = 9;
+ UserType user_type = 8;
}
// Users gRPC service