Reviewed By: krallin

Differential Revision: D28441672

fbshipit-source-id: b4600589997a5493351c80a693fc868e86f0e5c9
This commit is contained in:
Mateusz Kwapich 2021-05-27 02:37:58 -07:00 committed by Facebook GitHub Bot
parent 38db21c8d8
commit 5ae2777ca7

View File

@ -58,7 +58,7 @@ impl AsyncMethodRequestQueue {
let rust_params: <P::R as Request>::Params = thrift_params.try_into()?;
let params_object_id: <P::R as Request>::ParamsId =
rust_params.store(&ctx, &self.blobstore).await?;
let blobstoke_key = BlobstoreKey(params_object_id.blobstore_key());
let blobstore_key = BlobstoreKey(params_object_id.blobstore_key());
let table_id = self
.table
.add_request(
@ -66,7 +66,7 @@ impl AsyncMethodRequestQueue {
&request_type,
&RepositoryId::new(i32::try_from(target.repo_id)?),
&BookmarkName::new(&target.bookmark)?,
&blobstoke_key,
&blobstore_key,
)
.await?;
let token = <P::R as Request>::Token::from_db_id_and_target(table_id, target);