From ebe3660e53647f5295cb96c29e25666ee5b19233 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 17 May 2019 11:06:27 +0200 Subject: [PATCH] improve tag --- protos/services/tags_service.proto | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/protos/services/tags_service.proto b/protos/services/tags_service.proto index 90d5dbd..21fa336 100644 --- a/protos/services/tags_service.proto +++ b/protos/services/tags_service.proto @@ -10,12 +10,6 @@ message CreateTagRequest { string color = 2; } -message EditTagRequest { - string id = 1; - string label = 2; - string color = 3; -} - message DeleteTagRequest { string id = 1; } service TagsService { @@ -23,7 +17,7 @@ service TagsService { rpc createTag(CreateTagRequest) returns (Tag); /// The client must send the Authorization metadata - rpc editTag(EditTagRequest) returns (google.protobuf.Empty); + rpc editTag(Tag) returns (google.protobuf.Empty); /// The client must send the Authorization metadata rpc deleteTag(DeleteTagRequest) returns (google.protobuf.Empty);