sunheyi6 commented on code in PR #5880:
URL: https://github.com/apache/opendal/pull/5880#discussion_r2016108821


##########
core/src/services/aliyun_drive/core.rs:
##########
@@ -121,13 +123,17 @@ impl AliyunDriveCore {
         })
         .map_err(new_json_serialize_error)?;
         let req = Request::post(format!("{}/oauth/access_token", 
self.endpoint))
+            // Inject operation to the request.
+            .extension(Operation::Read)
             .body(Buffer::from(body))
             .map_err(new_request_build_error)?;
         self.send(req, None).await
     }
 
     async fn get_drive_id(&self, token: Option<&str>) -> Result<Buffer> {
         let req = Request::post(format!("{}/adrive/v1.0/user/getDriveInfo", 
self.endpoint))
+            // Inject operation to the request.
+            .extension(Operation::Read)

Review Comment:
   ok,i will delete it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to