From 16e18bdebfd42484a79d9e17c4d7a0a18e83d859 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 27 Jan 2022 15:19:27 +0100 Subject: [PATCH] client-api: Be consistent about Raw usage for backup key routes --- crates/ruma-client-api/src/r0/backup/add_backup_keys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruma-client-api/src/r0/backup/add_backup_keys.rs b/crates/ruma-client-api/src/r0/backup/add_backup_keys.rs index cc1758a7..c6f8ea05 100644 --- a/crates/ruma-client-api/src/r0/backup/add_backup_keys.rs +++ b/crates/ruma-client-api/src/r0/backup/add_backup_keys.rs @@ -26,7 +26,7 @@ ruma_api! { pub version: &'a str, /// A map from room IDs to session IDs to key data. - pub rooms: BTreeMap, RoomKeyBackup>, + pub rooms: BTreeMap, Raw>, } response: { @@ -45,7 +45,7 @@ ruma_api! { impl<'a> Request<'a> { /// Creates a new `Request` with the given version and room key backups. - pub fn new(version: &'a str, rooms: BTreeMap, RoomKeyBackup>) -> Self { + pub fn new(version: &'a str, rooms: BTreeMap, Raw>) -> Self { Self { version, rooms } } }