diff options
author | Vika <vika@fireburn.ru> | 2021-05-17 05:45:36 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-17 05:45:36 +0300 |
commit | 6a97f860fabe822ffbbde15c4fc708a6c4f41ccb (patch) | |
tree | 4db641abddc524389b642e261294263c9c189371 /src | |
parent | a8f99bb1097865ac992711a715f5d4e76f3206a2 (diff) | |
download | kittybox-6a97f860fabe822ffbbde15c4fc708a6c4f41ccb.tar.zst |
Fixed failing tests again - forgot to unwrap
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index fdbd2d3..954f1f2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,7 +63,7 @@ pub async fn get_app_with_test_redis(token_endpoint: surf::Url) -> (database::Re let backend = database::RedisStorage::new(redis_instance.uri().to_string()).await.unwrap(); let app = tide::with_state(ApplicationState { token_endpoint, media_endpoint: None, - authorization_endpoint: Url::parse("https://indieauth.com/auth"), + authorization_endpoint: Url::parse("https://indieauth.com/auth").unwrap(), storage: backend.clone(), http_client: surf::Client::new(), }); |