Skip to content

Commit

Permalink
fix: rename MakeAction to UpdateApproval
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd authored and ravisuhag committed Jul 23, 2021
1 parent 8dda6c0 commit 48eedb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions odpf/guardian/guardian.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ service Guardian {
};
}

rpc MakeAction(MakeActionRequest) returns (MakeActionResponse) {
rpc UpdateApproval(UpdateApprovalRequest) returns (UpdateApprovalResponse) {
option (google.api.http) = {
post: "/appeals/{id}/approvals/{approval_name}"
body: "*"
Expand Down Expand Up @@ -234,7 +234,7 @@ message ListApprovalsResponse {
repeated Approval approvals = 1;
}

message MakeActionRequest {
message UpdateApprovalRequest {
uint32 id = 1;
string approval_name = 2;

Expand All @@ -244,7 +244,7 @@ message MakeActionRequest {
Action action = 3;
}

message MakeActionResponse {
message UpdateApprovalResponse {
Appeal appeal = 1;
}

Expand Down

0 comments on commit 48eedb3

Please sign in to comment.