Skip to content

Commit

Permalink
Update src/attachments/attachments.resource.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Istenes <brandonesbox@gmail.com>
  • Loading branch information
jona42-ui and brandones authored Aug 16, 2023
1 parent f287d57 commit 2fa4eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attachments/attachments.resource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function createAttachment(
);
formData.append("base64Content", fileToUpload.base64Content);
}
return openmrsFetch(`${attachmentUrl}`, {
return openmrsFetch(attachmentUrl, {
method: "POST",
body: formData,
});
Expand Down

0 comments on commit 2fa4eff

Please sign in to comment.