Update ruma-client-api
parent
d0920f0fa3
commit
c60402bf0d
|
@ -1052,7 +1052,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ruma-client-api"
|
name = "ruma-client-api"
|
||||||
version = "0.7.2"
|
version = "0.7.2"
|
||||||
source = "git+https://github.com/ruma/ruma-client-api.git#dc582758e4f846b3751d84d21eb321e8eb4faf51"
|
source = "git+https://github.com/ruma/ruma-client-api.git#aeb4e237b7f13a068a92929fdb5c5adac4f346e1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"http",
|
"http",
|
||||||
"js_int",
|
"js_int",
|
||||||
|
|
|
@ -118,10 +118,9 @@ fn register_route(
|
||||||
data.token_replace(&user_id, &device_id, token.clone());
|
data.token_replace(&user_id, &device_id, token.clone());
|
||||||
|
|
||||||
MatrixResult(Ok(register::Response {
|
MatrixResult(Ok(register::Response {
|
||||||
access_token: token,
|
access_token: Some(token),
|
||||||
home_server: data.hostname().to_owned(),
|
|
||||||
user_id,
|
user_id,
|
||||||
device_id,
|
device_id: Some(device_id),
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue