Adding logs

This commit is contained in:
Matias committed 2019-07-03 12:43:12 -03:00
1 parent 09eb8a53e2
commit 8a9268d7dd
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import { writeFileContent } from '../../storage/providers/MinioStorage'
export const args = { file: { type: FileInputType } }
const resolve = async (parent, { file }, context) => {
logger.debug('createFile -> Entering Function.')
logger.debug('createFile -> Entering Function: ' + file.container + '/' + file.filePath)
try {
//TODO Add permissions
await writeFileContent(file.container, file.filePath, file.fileContent)