From 0edc5b5992f69f9dbba6a510bcd52babf609c7de Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Mon, 12 Feb 2024 10:44:18 +0100 Subject: [PATCH] docs(s3): fix README example --- apps/emqx_s3/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_s3/README.md b/apps/emqx_s3/README.md index 4ce1b0c0a..c2627cc08 100644 --- a/apps/emqx_s3/README.md +++ b/apps/emqx_s3/README.md @@ -18,7 +18,7 @@ The steps to integrate this application are: `ProfileName` is a unique name used to distinguish different sets of S3 settings. Each profile has its own connection pool and configuration. To use S3 from a _client_ application: -* Create an uploader process with `{ok, Pid} = emqx_s3:start_uploader(ProfileName, #{key => MyKey})`. +* Create an uploader process with `{ok, Pid} = emqx_s3:start_uploader(ProfileName, MyKey, _Opts = #{})`. * Write data with `emqx_s3_uploader:write(Pid, <<"data">>)`. * Finish the uploader with `emqx_s3_uploader:complete(Pid)` or `emqx_s3_uploader:abort(Pid)`.