summaryrefslogtreecommitdiffstats
path: root/server/src/api/comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/api/comment.rs')
-rw-r--r--server/src/api/comment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/comment.rs b/server/src/api/comment.rs
index 19752d83..3d18c72a 100644
--- a/server/src/api/comment.rs
+++ b/server/src/api/comment.rs
@@ -101,7 +101,7 @@ impl Perform<CommentResponse> for Oper<CreateComment> {
let _inserted_like = match CommentLike::like(&conn, &like_form) {
Ok(like) => like,
Err(_e) => {
- return Err(APIError::err(&self.op, ""))?
+ return Err(APIError::err(&self.op, "couldnt_like_comment"))?
}
};