summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/serializers/post.ts2
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;