diff options
author | Vitaly Takmazov | 2016-12-08 16:02:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-08 16:02:04 +0300 |
commit | 7ec4e9c0533508ccbb2996847992ddcbb340b6d9 (patch) | |
tree | 3714af6cc4726adc66655f7e64991d0db636a8ed /juick-api/src/main/java/com/juick | |
parent | 70b1e26036175b78213b4350b0f9a504c6d7e9df (diff) |
juick-api: tags are optional
Diffstat (limited to 'juick-api/src/main/java/com/juick')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/Post.java | 2 |
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); |