diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 20:13:38 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 20:13:38 +0900 |
| commit | 0d27dfe414e247dc945107777e5008eed2c38758 (patch) | |
| tree | 0db1fee2284933755bdd8434f10e5128025d2eb9 /src/api/endpoints | |
| parent | :sushi: (diff) | |
| download | sharkey-0d27dfe414e247dc945107777e5008eed2c38758.tar.gz sharkey-0d27dfe414e247dc945107777e5008eed2c38758.tar.bz2 sharkey-0d27dfe414e247dc945107777e5008eed2c38758.zip | |
Fix
Diffstat (limited to 'src/api/endpoints')
| -rw-r--r-- | src/api/endpoints/posts/create.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/create.ts b/src/api/endpoints/posts/create.ts index e220e51b6a..60b3592682 100644 --- a/src/api/endpoints/posts/create.ts +++ b/src/api/endpoints/posts/create.ts @@ -2,7 +2,7 @@ * Module dependencies */ import $ from 'cafy'; -const parse = require('../../../common/text'); +import parse from '../../common/text'; import Post from '../../models/post'; import { isValidText } from '../../models/post'; import User from '../../models/user'; |