Skip to content

Conversation

@lokesh-bitgo
Copy link
Contributor

Ticket: WP-6717

@lokesh-bitgo lokesh-bitgo marked this pull request as ready for review November 13, 2025 13:21
@lokesh-bitgo lokesh-bitgo requested a review from a team as a code owner November 13, 2025 13:21
Copy link
Contributor

@Taseen08 Taseen08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(duplicate comment)

Copy link
Contributor

@Taseen08 Taseen08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit, lgtm otherwise

};

export const pendingApprovalRequestBody = {
/** State of the approval: 'approved' to approve, omit or 'rejected' to reject (defaults to rejection) */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: would it make more sense if we say: 'approved' to approve, 'rejected' to reject (defaults to rejection)
Some might think omit is a valid state to pass. I think defaults to rejection already covers that providing empty state value leads to rejection

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update this in the follow-up API doc tickets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants