Skip to content

Commit

Permalink
Update example to use types that ExAws expects (phoenixframework#3073)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgaribay authored Feb 2, 2024
1 parent e70ee8e commit eb41b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/client/uploads-external.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def presign_upload(entry, socket) do
{:ok, url} =
ExAws.S3.presigned_url(config, :put, bucket, key,
expires_in: 3600,
query_params: ["Content-Type": entry.client_type]
query_params: [{"Content-Type", entry.client_type}]
)
{:ok, %{uploader: "S3", key: key, url: url}, socket}
end
Expand Down

0 comments on commit eb41b23

Please sign in to comment.