This commit is contained in:
2024-06-04 11:21:40 +02:00
parent 74d421514d
commit d843bbd787

View File

@@ -100,8 +100,10 @@ public class JodelPost {
@JsonProperty("content") String content,
@JsonProperty("date") Timestamp date,
@JsonProperty("location") Location location,
@JsonProperty("parent") Optional<Long> parent) {
this.authorID = 10000L; // TODO: getter from Keycloak
@JsonProperty("parent") Optional<Long> parent,
// TODO: getter from Keycloak
@JsonProperty("authorID") long author) {
this.authorID = author; // TODO: getter from Keycloak
this.title = title;
this.content = content;
this.date = date;