diff options
Diffstat (limited to 'src/database/redis/mod.rs')
-rw-r--r-- | src/database/redis/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/database/redis/mod.rs b/src/database/redis/mod.rs index cf94386..e64120f 100644 --- a/src/database/redis/mod.rs +++ b/src/database/redis/mod.rs @@ -167,10 +167,7 @@ impl Storage for RedisStorage { |post: Option<serde_json::Value>| { post.map(|post| MicropubChannel { uid: post["properties"]["uid"][0].as_str().unwrap().to_string(), - name: post["properties"]["name"][0] - .as_str() - .unwrap() - .to_string(), + name: post["properties"]["name"][0].as_str().unwrap().to_string(), }) }, ) |