diff options
author | Dessalines <happydooby@gmail.com> | 2019-08-09 17:19:09 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-08-09 17:19:09 -0700 |
commit | b7d18f0a6ad85bbae47803c3b0ac4308f6f06083 (patch) | |
tree | 0551b2364c6fb4b073c348b32e483e590ea51cc1 /server/src/api/comment.rs | |
parent | 96b2a965376dfeff2d7941c9e2c778f5528ec229 (diff) | |
parent | ac5d1f5b32004cba6f292089fc7a64c2acdbbdda (diff) |
Fixing merge conflicts.
Diffstat (limited to 'server/src/api/comment.rs')
-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"))? } }; |