mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Update
This commit is contained in:
@@ -17,8 +17,9 @@ impl VersionContext {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
impl ResponseJsonFor<Body> for VersionContext {
|
||||
fn response_json(&self, _req: Request<Body>) -> Result<JsonValue, PixivDownloaderError> {
|
||||
async fn response_json(&self, _req: Request<Body>) -> Result<JsonValue, PixivDownloaderError> {
|
||||
Ok(json::object! {"version": [0, 0, 1, 0]})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user