diff options
author | Andrew Yasinishyn <yasinishyn.a.n@gmail.com> | 2023-12-01 16:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 14:31:50 +0000 |
commit | 63d96bfc61fcbf53e9607c63f215d2dde387de29 (patch) | |
tree | 59f4d2bab25d0b39e291cc1063132170f846eec9 /rust/src | |
parent | Drop unused tables & unneeded access token ID for events. (#16522) (diff) | |
download | synapse-63d96bfc61fcbf53e9607c63f215d2dde387de29.tar.xz |
ModuleAPI SSO auth callbacks (#15207)
Signed-off-by: Andrii Yasynyshyn yasinishyn.a.n@gmail.com
Diffstat (limited to 'rust/src')
-rw-r--r-- | rust/src/push/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/push/mod.rs b/rust/src/push/mod.rs index 5e1e8e1abb..68d4227baa 100644 --- a/rust/src/push/mod.rs +++ b/rust/src/push/mod.rs @@ -296,8 +296,7 @@ impl<'source> FromPyObject<'source> for JsonValue { match l.iter().map(SimpleJsonValue::extract).collect() { Ok(a) => Ok(JsonValue::Array(a)), Err(e) => Err(PyTypeError::new_err(format!( - "Can't convert to JsonValue::Array: {}", - e + "Can't convert to JsonValue::Array: {e}" ))), } } else if let Ok(v) = SimpleJsonValue::extract(ob) { |