From af2cf4b7a8556343a2a23c7dba58b40cd356ffe8 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 26 Dec 2024 17:48:06 -0800 Subject: [PATCH] fix api --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),