aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-04 19:33:03 +0300
committerGravatar Vitaly Takmazov2018-10-04 19:33:03 +0300
commit0cb00c61bd1ab203c66878d3c313b6f40b4cc707 (patch)
treeb2d92995d1e33593908d9bfb420205f821452a77 /juick-server/src/main/java/com/juick/server/api
parent9848227c11f3cc4c0ccf6e01d0185c5fda506e80 (diff)
fix some tests, disable Note endpoint until negotiation fixed
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/Profile.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
index 6fdd9d8c..5a269d03 100644
--- a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
+++ b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java
@@ -221,11 +221,12 @@ public class Profile {
}
throw new HttpNotFoundException();
}
+ /*
@GetMapping(value = "/m/{mid}", produces = {Context.LD_JSON_MEDIA_TYPE, Context.ACTIVITY_JSON_MEDIA_TYPE})
public Context showNote(@PathVariable int mid) {
Message message = messagesService.getMessage(mid);
return Context.build(activityPubManager.makeNote(message));
- }
+ }*/
@PostMapping(value = "/api/inbox", consumes = {Context.LD_JSON_MEDIA_TYPE, Context.ACTIVITY_JSON_MEDIA_TYPE})
public ResponseEntity<Void> processInbox(@RequestBody Activity activity,