aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-11 21:32:58 -0700
committerGitHub <[email protected]>2022-07-11 21:32:58 -0700
commit26dfd6ddd9f28f94b86ab45727099539e8cfccef (patch)
tree337352cfa3e9d2726732d0c546ea611c0577d9d6
parentdocs(cargo): bump version 0.2.1 -> 0.2.2 (diff)
parentfix(utils): Don't encode response links (diff)
downloadapi-worker-26dfd6ddd9f28f94b86ab45727099539e8cfccef.tar.xz
api-worker-26dfd6ddd9f28f94b86ab45727099539e8cfccef.zip
Merge pull request #19 from SebaUbuntu/main
-rw-r--r--src/utils.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 242cd77..ff272c0 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -147,8 +147,7 @@ pub async fn filter_images_by_language(
} else {
&*boys::GITHUB_USER_CONTENT
},
- // URL (percent) encoding because we are pushing a URL, not a string
- quote(item.path, b"").ok().unwrap()
+ item.path
));
}
}