We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c92368 commit fbf2156Copy full SHA for fbf2156
src/api/post/get_comment_list.rs
@@ -31,11 +31,7 @@ impl Post {
31
let client = reqwest::Client::new();
32
33
let req = {
34
- let url = openapi!(
35
- "https://api.cnblogs.com/api/blogs/{}/posts/{}/comments",
36
- blog_app,
37
- post_id
38
- );
+ let url = openapi!("/blogs/{}/posts/{}/comments", blog_app, post_id);
39
client.get(url).pat_auth(&self.pat)
40
};
41
let resp = req.send().await?;
0 commit comments