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);