fix api
This commit is contained in:
parent
bc11f918aa
commit
af2cf4b7a8
@ -169,7 +169,7 @@ async fn review(config:ReviewConfig)->Result<(),ReviewError>{
|
|||||||
|
|
||||||
// update policy
|
// update policy
|
||||||
api.update_script_policy(submissions_api::types::UpdateScriptPolicyRequest{
|
api.update_script_policy(submissions_api::types::UpdateScriptPolicyRequest{
|
||||||
ScriptPolicyID:unreviewed_policy.ID,
|
ID:unreviewed_policy.ID,
|
||||||
FromScriptID:None,
|
FromScriptID:None,
|
||||||
ToScriptID:to_script_id,
|
ToScriptID:to_script_id,
|
||||||
Policy:Some(reviewed_policy),
|
Policy:Some(reviewed_policy),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user