diff options
| author | otofune <otofune@gmail.com> | 2017-11-06 18:38:59 +0900 |
|---|---|---|
| committer | otofune <otofune@gmail.com> | 2017-11-06 18:38:59 +0900 |
| commit | d7e1ffb0055f0786a707015350a14351b8a0fbf0 (patch) | |
| tree | e54da7368fd38ad61be0c15deb9ac1f65cb93bc7 /src | |
| parent | add safety guard to serializers & fix importing uncorrect serializer (diff) | |
| download | sharkey-d7e1ffb0055f0786a707015350a14351b8a0fbf0.tar.gz sharkey-d7e1ffb0055f0786a707015350a14351b8a0fbf0.tar.bz2 sharkey-d7e1ffb0055f0786a707015350a14351b8a0fbf0.zip | |
remove whitespace
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/serializers/post.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/serializers/post.ts b/src/api/serializers/post.ts index 5a63384f0e..03fd120772 100644 --- a/src/api/serializers/post.ts +++ b/src/api/serializers/post.ts @@ -57,7 +57,7 @@ const self = async ( _post = deepcopy(post); } - if (!_post) throw 'invalid post arg.'; + if (!_post) throw 'invalid post arg.'; const id = _post._id; |