Skip to content

Commit

Permalink
Fixed state constant #CALM-25425 (#190)
Browse files Browse the repository at this point in the history
(cherry picked from commit a854fd61677d729d51f85504233f31157fc2c71c)
  • Loading branch information
calmtanmay authored and abhijeetkaurav1st committed Aug 6, 2023
1 parent 4f278cf commit 41b642b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calm/dsl/cli/approval_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _approve_approval_command(approval_name, comment, uuid=""):
"""Updates a approval"""

update_approval_command(
approval_name, APPROVAL_REQUEST.APPROVED, comment, uuid=uuid
approval_name, APPROVAL_REQUEST.STATES.APPROVED, comment, uuid=uuid
)


Expand All @@ -89,7 +89,7 @@ def _reject_approval_command(approval_name, comment, uuid=""):
"""Updates a approval"""

update_approval_command(
approval_name, APPROVAL_REQUEST.REJECTED, comment, uuid=uuid
approval_name, APPROVAL_REQUEST.STATES.REJECTED, comment, uuid=uuid
)


Expand Down

0 comments on commit 41b642b

Please sign in to comment.