mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-29 05:44:35 +02: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
|
let x_matrix = match request
|
||||||
.headers()
|
.headers()
|
||||||
.get_one("Authorization")
|
.get_one("Authorization")
|
||||||
.and_then(|s|
|
.and_then(|s| s.get(9..)) // Split off "X-Matrix " and parse the rest
|
||||||
// Split off "X-Matrix " and parse the rest
|
|
||||||
s.get(9..))
|
|
||||||
.map(|s| {
|
.map(|s| {
|
||||||
s.split_terminator(',')
|
s.split_terminator(',')
|
||||||
.map(|field| {
|
.map(|field| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue