diff options
author | Dessalines <tyhou13@gmx.com> | 2019-08-09 17:15:27 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-08-09 17:15:27 -0700 |
commit | c494fe8e9b29b81d41145f39351710852e5024d4 (patch) | |
tree | ad673cf5d5208c962b962951da95e300e5dc1f0a /server/src/api | |
parent | e702618e259b286590d3dfab481274c90409f73e (diff) |
Making a few internationalization fixes.
Diffstat (limited to 'server/src/api')
-rw-r--r-- | server/src/api/comment.rs | 2 |
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"))? } }; |