summaryrefslogtreecommitdiffstats
path: root/server/src/api/comment.rs
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-08-09 17:15:27 -0700
committerDessalines <tyhou13@gmx.com>2019-08-09 17:15:27 -0700
commitc494fe8e9b29b81d41145f39351710852e5024d4 (patch)
treead673cf5d5208c962b962951da95e300e5dc1f0a /server/src/api/comment.rs
parente702618e259b286590d3dfab481274c90409f73e (diff)
Making a few internationalization fixes.
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"))?
}
};