Make invites use store (#92)

This commit is contained in:
Asim Aslam
2021-05-03 14:36:29 +01:00
committed by GitHub
parent 72b7436805
commit 6fda0401ef
9 changed files with 308 additions and 211 deletions

View File

@@ -2,7 +2,6 @@ syntax = "proto3";
package invites;
option go_package = "./proto;invites";
import "google/protobuf/wrappers.proto";
service Invites {
// Create an invite
@@ -32,8 +31,8 @@ message CreateResponse {
}
message ReadRequest {
google.protobuf.StringValue id = 1;
google.protobuf.StringValue code = 2;
string id = 1;
string code = 2;
}
message ReadResponse {
@@ -41,8 +40,8 @@ message ReadResponse {
}
message ListRequest {
google.protobuf.StringValue group_id = 1;
google.protobuf.StringValue email = 2;
string group_id = 1;
string email = 2;
}
message ListResponse {