Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
d22f6665
Commit
d22f6665
authored
Aug 28, 2018
by
kaniini
Browse files
upload: formatting
parent
1596185a
Pipeline
#3362
passed with stages
in 4 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/upload.ex
View file @
d22f6665
...
...
@@ -240,7 +240,8 @@ defp put_s3_file(name, uuid, path, content_type) do
ExAws
.
S3
.
put_object
(
bucket
,
s3_name
,
file_data
,
[
{
:acl
,
:public_read
},
{
:content_type
,
content_type
}
])
|>
ExAws
.
request
()
])
|>
ExAws
.
request
()
"
#{
public_endpoint
}
/
#{
bucket
}
/
#{
s3_name
}
"
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment