Update ruma-client-api
This commit is contained in:
parent
d0920f0fa3
commit
c60402bf0d
2 changed files with 3 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1052,7 +1052,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "ruma-client-api"
|
||||
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 = [
|
||||
"http",
|
||||
"js_int",
|
||||
|
|
|
@ -118,10 +118,9 @@ fn register_route(
|
|||
data.token_replace(&user_id, &device_id, token.clone());
|
||||
|
||||
MatrixResult(Ok(register::Response {
|
||||
access_token: token,
|
||||
home_server: data.hostname().to_owned(),
|
||||
access_token: Some(token),
|
||||
user_id,
|
||||
device_id,
|
||||
device_id: Some(device_id),
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue