Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
peters committed Jan 27, 2024
1 parent c2bf930 commit dd12609
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 861 deletions.
35 changes: 0 additions & 35 deletions Digipost.Api.Client.Archive.Tests/Smoke/ArchiveSmokeTests.cs

This file was deleted.

174 changes: 0 additions & 174 deletions Digipost.Api.Client.Archive.Tests/Smoke/ArchiveSmokeTestsHelper.cs

This file was deleted.

4 changes: 2 additions & 2 deletions Digipost.Api.Client.Archive/ArchiveApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ public async Task<Archive> FetchDocumentFromExternalId(Guid externalIdGuid)

public async Task<Stream> StreamDocumentFromExternalId(string externalId)
{
var archive = GetArchiveDocument(_root.GetGetArchiveDocumentsByUuidUri(externalId)).Result;
var archive = await GetArchiveDocument(_root.GetGetArchiveDocumentsByUuidUri(externalId));
var documentContentStreamUri = archive.One().GetDocumentContentStreamUri();

return await StreamDocument(documentContentStreamUri);
}

public async Task<Stream> StreamDocumentFromExternalId(Guid guid)
{
var archive = GetArchiveDocument(_root.GetGetArchiveDocumentsByUuidUri(guid)).Result;
var archive = await GetArchiveDocument(_root.GetGetArchiveDocumentsByUuidUri(guid));
var documentContentStreamUri = archive.One().GetDocumentContentStreamUri();

return await StreamDocument(documentContentStreamUri);
Expand Down
31 changes: 0 additions & 31 deletions Digipost.Api.Client.Inbox.Tests/Smoke/InboxSmokeTests.cs

This file was deleted.

85 changes: 0 additions & 85 deletions Digipost.Api.Client.Inbox.Tests/Smoke/InboxSmokeTestsHelper.cs

This file was deleted.

Loading

0 comments on commit dd12609

Please sign in to comment.