summaryrefslogtreecommitdiff
path: root/src/api/endpoints
diff options
context:
space:
mode:
authorotofune <otofune@gmail.com>2017-11-06 18:30:49 +0900
committerotofune <otofune@gmail.com>2017-11-06 18:30:49 +0900
commitc1fc3b9f6ec176999932958a7856d160317b7762 (patch)
treef86e0a1c2703f57b591c870082f0bbc576165249 /src/api/endpoints
parentmigration - add GridFS migration (diff)
downloadmisskey-c1fc3b9f6ec176999932958a7856d160317b7762.tar.gz
misskey-c1fc3b9f6ec176999932958a7856d160317b7762.tar.bz2
misskey-c1fc3b9f6ec176999932958a7856d160317b7762.zip
add safety guard to serializers & fix importing uncorrect serializer
Diffstat (limited to 'src/api/endpoints')
-rw-r--r--src/api/endpoints/drive/folders/update.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/drive/folders/update.ts b/src/api/endpoints/drive/folders/update.ts
index eec2757878..4f2e3d2a7a 100644
--- a/src/api/endpoints/drive/folders/update.ts
+++ b/src/api/endpoints/drive/folders/update.ts
@@ -4,7 +4,7 @@
import $ from 'cafy';
import DriveFolder from '../../../models/drive-folder';
import { isValidFolderName } from '../../../models/drive-folder';
-import serialize from '../../../serializers/drive-file';
+import serialize from '../../../serializers/drive-folder';
import event from '../../../event';
/**