Fix items-after-statements
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2ab427fe99
commit
68cbf19154
6 changed files with 14 additions and 13 deletions
|
@ -49,12 +49,11 @@ impl Service {
|
|||
where
|
||||
T: OutgoingRequest + Debug,
|
||||
{
|
||||
let dest = dest.replace(services().globals.notification_push_path(), "");
|
||||
|
||||
trace!("Push gateway destination: {dest}");
|
||||
|
||||
const VERSIONS: [MatrixVersion; 1] = [MatrixVersion::V1_0];
|
||||
|
||||
let dest = dest.replace(services().globals.notification_push_path(), "");
|
||||
trace!("Push gateway destination: {dest}");
|
||||
|
||||
let http_request = request
|
||||
.try_into_http_request::<BytesMut>(&dest, SendAccessToken::IfRequired(""), &VERSIONS)
|
||||
.map_err(|e| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue