normalize rids (#9832)

This commit is contained in:
crowlKats 2021-03-19 01:55:31 +01:00 committed by GitHub
parent 277e19f4d2
commit 197305908b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 57 deletions

View file

@ -178,7 +178,7 @@ fn op_run(
#[derive(Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RunStatusArgs {
rid: i32,
rid: u32,
}
async fn op_run_status(
@ -186,7 +186,7 @@ async fn op_run_status(
args: RunStatusArgs,
_zero_copy: BufVec,
) -> Result<Value, AnyError> {
let rid = args.rid as u32;
let rid = args.rid;
{
let s = state.borrow();