Skip to content
Snippets Groups Projects
Commit 8db92929 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

feat(server): allow filestorage to read credentials from os aws setup

parent c9bd23a0
No related branches found
No related tags found
2 merge requests!52Docx,!17Graphql api
...@@ -73,17 +73,17 @@ const connectToFileStorage = () => { ...@@ -73,17 +73,17 @@ const connectToFileStorage = () => {
throw new Error('Missing required host param for initializing file storage') throw new Error('Missing required host param for initializing file storage')
} }
if (!accessKeyId) { // if (!accessKeyId) {
throw new Error( // throw new Error(
'Missing required accessKeyId param for initializing file storage', // 'Missing required accessKeyId param for initializing file storage',
) // )
} // }
if (!accessKeyId) { // if (!secretAccessKey) {
throw new Error( // throw new Error(
'Missing required secretAccessKey param for initializing file storage', // 'Missing required secretAccessKey param for initializing file storage',
) // )
} // }
if (!bucket) { if (!bucket) {
throw new Error( throw new Error(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment