Skip to content

Commit

Permalink
StampByUserId
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jun 25, 2024
1 parent ce0da89 commit 11f0ea7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpkm67/backend/stamp/v1/stamp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ option go_package = "rpkm67/backend/stamp/v1";

service StampService {
rpc FindByUserId(FindByUserIdStampRequest) returns (FindByUserIdStampResponse){}
rpc Stamp(StampRequest) returns (StampResponse) {}
rpc StampByUserId(StampByUserIdRequest) returns (StampByUserIdResponse) {}
}

message Stamp{
Expand Down Expand Up @@ -38,12 +38,12 @@ message FindByUserIdStampResponse{
Stamp stamp = 1;
}

// Stamp
message StampRequest{
// StampByUserId
message StampByUserIdRequest{
string userId = 1;
string activityId = 2;
}

message StampResponse{
message StampByUserIdResponse{
Stamp stamp = 1;
}

0 comments on commit 11f0ea7

Please sign in to comment.