feat: minor update
Some checks are pending
ci/woodpecker/pr/test Pipeline is pending

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-11-21 19:55:14 +01:00
parent d4a162876a
commit 6bf847a24a
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 2 additions and 14 deletions

14
Cargo.lock generated
View File

@ -2877,7 +2877,7 @@ dependencies = [
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"webpki-roots 0.25.2",
"webpki-roots",
"winreg",
]
@ -3481,8 +3481,6 @@ dependencies = [
"once_cell",
"paste",
"percent-encoding",
"rustls",
"rustls-pemfile",
"serde",
"serde_json",
"sha2 0.10.8",
@ -3493,7 +3491,6 @@ dependencies = [
"tokio-stream",
"tracing",
"url",
"webpki-roots 0.24.0",
]
[[package]]
@ -4235,15 +4232,6 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "webpki-roots"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b291546d5d9d1eab74f069c77749f2cb8504a12caa20f0f2de93ddbf6f411888"
dependencies = [
"rustls-webpki",
]
[[package]]
name = "webpki-roots"
version = "0.25.2"

View File

@ -132,7 +132,7 @@ impl Auth for NoopAuthService {
self.config
.return_url
.rsplit_once('/')
.map(|(a, b)| a)
.map(|(a, _)| a)
.unwrap()
))
.unwrap();