Showing
2 changed files
with
5 additions
and
7 deletions
1 | { | 1 | { |
2 | - "accessKeyId": "ASIAZQ5XTMMFYKGWGIQJ", | 2 | + "accessKeyId": "ASIAZQ5XTMMF3ELCTADR", |
3 | - "secretAccessKey": "d3ljiFkZ9QhRxCwE99mw3oFMaVa3JRPkMFDKec48", | 3 | + "secretAccessKey": "InEMPdQmNjV0SivIkw1UJwjGUDAFKrwvvPkAVVmx", |
4 | - "sessionToken": "FwoGZXIvYXdzEH8aDHT83Ci5/yuYOOCJTyLDAaQaZLTrJaQf7IsZGhY0UEqpHWgOp7j9T+d/WIpoCxVD/GP53RMlVHlFMfCerfkWEVNXWJOkblExYDBTt4QMLzdhONlOQWVONAvhL8agZ6bUS66sHMQ+PlG+CO/Fjj1pLzOXc2g20elUC0+45pdczi8o33UJEACOCW11K5tYzE2lqjrdggOU00VICLNU5HmPYGH/Sku6NG3goo3hKwrCY2m/YhuPB0hP29g/dLpaUum2oy2VXryi1K255d5tontTA8Dbcyj13PP2BTIt5eqJvxyyyNzJCrXfK1LZkA8WCEMbGTasgfkwm5m7yBKrVFMpEdy9gvcXzuva", | 4 | + "sessionToken": "FwoGZXIvYXdzEJL//////////wEaDCaoEldiVQf3HLMLciLDAaOTxR/gqKjCnyFawPdFEqw4owZueDFAWp6jCQ1v/T0bYgXOU99OSdLvWt+EAN/l5avAn1N6ZN1H5fXIvqsKjCYtBwEn0jfI7rWdvaLfYgcU+dafml7WeUL2h2s4imrMf/MTVZl78W3I+xPe09r8UkcaJKVHl9Z5OSsgJOGFo3Htvv22H2HRuxYjTepgdqrPSa/xGbk0O4rQP3nJ7tYHMxhwg1GhYRz97Y6uPizaTybjLD2P7WhkBRiMz3903N4oE0HNqSin5ff2BTItxL9RngBajdIbW35ynftIZOeuL5HwWRUwG4GRmSan4xQKz0DYjQ6DEIxaRv6G", |
5 | "region": "us-east-1" | 5 | "region": "us-east-1" |
6 | } | 6 | } | ... | ... |
... | @@ -142,10 +142,8 @@ var S3 = { | ... | @@ -142,10 +142,8 @@ var S3 = { |
142 | if (result) { | 142 | if (result) { |
143 | makeFolder(tempDownloadDir, function(result){ | 143 | makeFolder(tempDownloadDir, function(result){ |
144 | if (result) { | 144 | if (result) { |
145 | - if (data){ | 145 | + fs.writeFileSync(tempDownloadDir, data); |
146 | - fs.writeFileSync(tempDownloadDir, data); | 146 | + callback(true, tempDownloadDir); |
147 | - callback(true, tempDownloadDir); | ||
148 | - } | ||
149 | } | 147 | } |
150 | }) | 148 | }) |
151 | }else{ | 149 | }else{ | ... | ... |
-
Please register or login to post a comment