aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api/controllers
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-08 16:02:04 +0300
committerGravatar Vitaly Takmazov2016-12-08 16:02:04 +0300
commit7ec4e9c0533508ccbb2996847992ddcbb340b6d9 (patch)
tree3714af6cc4726adc66655f7e64991d0db636a8ed /juick-api/src/main/java/com/juick/api/controllers
parent70b1e26036175b78213b4350b0f9a504c6d7e9df (diff)
juick-api: tags are optional
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/controllers')
-rw-r--r--juick-api/src/main/java/com/juick/api/controllers/Post.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/controllers/Post.java b/juick-api/src/main/java/com/juick/api/controllers/Post.java
index b8fb1259..9749d700 100644
--- a/juick-api/src/main/java/com/juick/api/controllers/Post.java
+++ b/juick-api/src/main/java/com/juick/api/controllers/Post.java
@@ -66,7 +66,7 @@ public class Post {
public com.juick.Message doPostMessage(
Principal principal,
@RequestParam String body,
- @RequestParam String tags,
+ @RequestParam(required = false) String tags,
@RequestParam(required = false) String img,
@RequestParam(required = false) MultipartFile attach) throws IOException {
String name = UserUtils.getUsername(principal, null);