Rename the uid to taskUid in asynchronous response

This commit is contained in:
Kerollmops 2022-05-17 11:17:32 +02:00
parent e5ef5a6f9c
commit d2f457a076
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
9 changed files with 18 additions and 18 deletions

View file

@ -46,7 +46,7 @@ impl Index<'_> {
.post_str(url, include_str!("../assets/test_set.json"))
.await;
assert_eq!(code, 202);
let update_id = response["uid"].as_i64().unwrap();
let update_id = response["taskUid"].as_i64().unwrap();
self.wait_task(update_id as u64).await;
update_id as u64
}