make emergency access work with multi-domains

This commit is contained in:
BlockListed 2023-09-09 14:21:24 +02:00
parent 81dd47952b
commit 3421dfcbf5
No known key found for this signature in database
GPG Key ID: 2D204777C477B588
1 changed files with 2 additions and 1 deletions

View File

@ -603,11 +603,12 @@ async fn view_emergency_access(emer_id: &str, headers: Headers, mut conn: DbConn
for c in ciphers {
ciphers_json.push(
c.to_json(
&headers.host,
&headers.base_url,
&emergency_access.grantor_uuid,
Some(&cipher_sync_data),
CipherSyncType::User,
&mut conn,
(),
)
.await,
);