Skip to content

Commit

Permalink
fix: group findbyuserid -> findone
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jul 6, 2024
1 parent 48a2ea1 commit 6438537
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 FindByUserId(FindByUserIdGroupRequest) returns (FindByUserIdGroupResponse) {}
rpc FindOne(FindOneGroupRequest) returns (FindOneGroupResponse) {}
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;
}

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

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

Expand Down

0 comments on commit 6438537

Please sign in to comment.