mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 21:54:03 +00:00
ModuleAPI SSO auth callbacks (#15207)
Signed-off-by: Andrii Yasynyshyn yasinishyn.a.n@gmail.com
This commit is contained in:
1 parent
579c6be5f6
commit
63d96bfc61
8 files changed
+56
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user