diff --git a/src/main.rs b/src/main.rs index 37cd3d6..ef245ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -169,7 +169,7 @@ async fn review(config:ReviewConfig)->Result<(),ReviewError>{ // update policy api.update_script_policy(submissions_api::types::UpdateScriptPolicyRequest{ - ScriptPolicyID:unreviewed_policy.ID, + ID:unreviewed_policy.ID, FromScriptID:None, ToScriptID:to_script_id, Policy:Some(reviewed_policy),