aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/api/activity
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-11-13 10:11:54 +0300
committerGravatar Vitaly Takmazov2019-11-13 10:11:54 +0300
commit4fcfacbdabd96b6b319d3f5cd5e1fc47531ec275 (patch)
tree83fad5fbc41d47b50895a8be92030ececc6db617 /src/main/java/com/juick/server/api/activity
parentfd9368dd168e73be86b2f1048adf753205953a27 (diff)
Spring Boot 2.2.1, Babel 7.7
Diffstat (limited to 'src/main/java/com/juick/server/api/activity')
-rw-r--r--src/main/java/com/juick/server/api/activity/Profile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/api/activity/Profile.java b/src/main/java/com/juick/server/api/activity/Profile.java
index 77945d6b..88c76a93 100644
--- a/src/main/java/com/juick/server/api/activity/Profile.java
+++ b/src/main/java/com/juick/server/api/activity/Profile.java
@@ -388,7 +388,7 @@ public class Profile {
}
return new ResponseEntity<>(CommandResult.fromString("Can not authenticate"), HttpStatus.UNAUTHORIZED);
}
- @PostMapping(value = "/u/", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
+ @PostMapping(value = "/u/", produces = MediaType.APPLICATION_JSON_VALUE)
public User fetchUser(@RequestParam URI uri) {
return activityPubManager.personToUser(uri);
}