mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 09:11:13 -05:00
Update process_approval_transaction function
Update the `process_approval_transaction` function to utilize the new `error_code` and `item_details` returned by the enhanced `validate_submission_items_for_approval` function. This will improve error handling and debugging by providing more specific information when validation fails.
This commit is contained in:
@@ -6458,9 +6458,11 @@ export type Database = {
|
||||
validate_submission_items_for_approval: {
|
||||
Args: { p_item_ids: string[] }
|
||||
Returns: {
|
||||
error_code: string
|
||||
error_message: string
|
||||
invalid_item_id: string
|
||||
is_valid: boolean
|
||||
item_details: Json
|
||||
}[]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user