From 3eee92aae4762a27cf9cc7e10f6c8f2625bb96d5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Apr 2018 04:03:25 +0900 Subject: [PATCH] Refactor --- src/services/drive/upload-from-url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/drive/upload-from-url.ts b/src/services/drive/upload-from-url.ts index fc8805260..a741cbda4 100644 --- a/src/services/drive/upload-from-url.ts +++ b/src/services/drive/upload-from-url.ts @@ -33,7 +33,7 @@ export default async (url, user, folderId = null, uri = null): Promise { writable.close(); - res(path); + res(); }) .pipe(writable) .on('error', rej);