Skip to content

Commit

Permalink
fix: group add FindByUserId
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jul 6, 2024
1 parent 862f614 commit 1e59ca0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rpkm67/backend/group/v1/group.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package rpkm67.backend.group.v1;
option go_package = "rpkm67/backend/group/v1";

service GroupService {
rpc FindOne(FindOneGroupRequest) returns (FindOneGroupResponse) {}
rpc FindByUserId(FindByUserIdGroupRequest) returns (FindByUserIdGroupResponse) {}
rpc FindByToken(FindByTokenGroupRequest) returns (FindByTokenGroupResponse) {}
rpc UpdateConfirm(UpdateConfirmGroupRequest) returns (UpdateConfirmGroupResponse) {}
rpc Join(JoinGroupRequest) returns (JoinGroupResponse) {}
Expand All @@ -28,12 +28,12 @@ message UserInfo {
string imageUrl = 4;
}

// FindOne
message FindOneGroupRequest{
string id = 1;
// FindByUserId
message FindByUserIdGroupRequest{
string userId = 1;
}

message FindOneGroupResponse{
message FindByUserIdGroupResponse{
Group group = 1;
}

Expand Down

0 comments on commit 1e59ca0

Please sign in to comment.