aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api
diff options
context:
space:
mode:
Diffstat (limited to 'juick-api/src/main/java/com/juick/api')
-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);