From 7ec4e9c0533508ccbb2996847992ddcbb340b6d9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Dec 2016 16:02:04 +0300 Subject: juick-api: tags are optional --- juick-api/src/main/java/com/juick/api/controllers/Post.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-api/src/main/java/com') 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); -- cgit v1.2.3