Skip to content

Commit 15408d3

Browse files
committed
Update the admin API doc to use stable scope in the example
1 parent d27f7e3 commit 15408d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/handlers/src/admin/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ impl OAuth2Session {
375375
user_id: Some(Ulid::from_bytes([0x04; 16])),
376376
user_session_id: Some(Ulid::from_bytes([0x05; 16])),
377377
client_id: Ulid::from_bytes([0x06; 16]),
378-
scope: "urn:matrix:org.matrix.msc2967.client:api:*".to_owned(),
378+
scope: "urn:matrix:client:api:*".to_owned(),
379379
user_agent: Some("Mozilla/5.0".to_owned()),
380380
last_active_at: Some(DateTime::default()),
381381
last_active_ip: Some("127.0.0.1".parse().unwrap()),

docs/api/spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
"user_id": "040G2081040G2081040G208104",
470470
"user_session_id": "050M2GA1850M2GA1850M2GA185",
471471
"client_id": "060R30C1G60R30C1G60R30C1G6",
472-
"scope": "urn:matrix:org.matrix.msc2967.client:api:*",
472+
"scope": "urn:matrix:client:api:*",
473473
"user_agent": "Mozilla/5.0",
474474
"last_active_at": "1970-01-01T00:00:00Z",
475475
"last_active_ip": "127.0.0.1",

0 commit comments

Comments
 (0)