aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-11 21:32:58 +0000
committerGitHub <[email protected]>2022-07-11 21:32:58 +0000
commit570f882ed8549900c983667f7337014a79f63beb (patch)
tree337352cfa3e9d2726732d0c546ea611c0577d9d6 /src
parentdocs(cargo): bump version 0.2.1 -> 0.2.2 (diff)
parentfix(utils): Don't encode response links (diff)
downloadapi-worker-570f882ed8549900c983667f7337014a79f63beb.tar.xz
api-worker-570f882ed8549900c983667f7337014a79f63beb.zip
Merge pull request #19 from SebaUbuntu/main
Diffstat (limited to 'src')
-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
));
}
}