Adding logs
This commit is contained in:
1 parent
09eb8a53e2
commit
8a9268d7dd
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user