moving comment out of JSON string

This commit is contained in:
Yvan 2025-01-24 00:50:45 +00:00
parent d2760742b6
commit 8cdbc11d92

View file

@ -43,9 +43,9 @@ public class HomeController {
*/ */
@GetMapping("/users/springbot") @GetMapping("/users/springbot")
public String actor() { public String actor() {
// TODO: this needs some sort of object wrapper or template, and data in database
return """ return """
{ {
// TODO: this needs some sort of object wrapper or template, and data in database
"@context": [ "@context": [
"https://www.w3.org/ns/activitystreams", "https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1" "https://w3id.org/security/v1"