mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-29 13:14:26 +01:00
fmt
This commit is contained in:
parent
fd69ac621c
commit
1939e62814
1 changed files with 1 additions and 3 deletions
|
@ -137,9 +137,7 @@ where
|
|||
let x_matrix = match request
|
||||
.headers()
|
||||
.get_one("Authorization")
|
||||
.and_then(|s|
|
||||
// Split off "X-Matrix " and parse the rest
|
||||
s.get(9..))
|
||||
.and_then(|s| s.get(9..)) // Split off "X-Matrix " and parse the rest
|
||||
.map(|s| {
|
||||
s.split_terminator(',')
|
||||
.map(|field| {
|
||||
|
|
Loading…
Reference in a new issue