This commit is contained in:
Andras Schmelczer 2026-04-23 20:35:42 +01:00
commit d715d94b6d
26 changed files with 1006 additions and 452 deletions

View file

@ -81,7 +81,12 @@ export class ApiClient {
): Promise<ArrayBuffer> {
const response = await fetch(
`${this.baseUrl}/documents/${documentId}/versions/${vaultUpdateId}/content`,
{ headers: this.headers() }
{
headers: {
Authorization: `Bearer ${this.token}`,
"device-id": "history-ui"
}
}
);
if (!response.ok) {
throw new Error(`HTTP ${response.status}`);