Skip to content

Commit

Permalink
chore: use signed url when creating FHIR media resource (#434)
Browse files Browse the repository at this point in the history
Signed-off-by: Kathurima Kimathi <[email protected]>
  • Loading branch information
KathurimaKimathi authored Apr 16, 2024
1 parent 419a7fd commit 097dbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clinical/usecases/clinical/media.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (c *UseCasesClinicalImpl) UploadMedia(ctx context.Context, encounterID stri
},
Content: &domain.FHIRAttachmentInput{
ContentType: (*scalarutils.Code)(&mediaUploadOutput.ContentType),
URL: (*scalarutils.URL)(&mediaUploadOutput.MediaLink),
URL: (*scalarutils.URL)(&mediaUploadOutput.SignedURL),
Title: &mediaUploadOutput.Name,
},
Issued: &now,
Expand Down

0 comments on commit 097dbc2

Please sign in to comment.