Commit cefb3fb2 authored by Jeremie Bresson's avatar Jeremie Bresson
Browse files

Merge remote-tracking branch 'origin/main' into 6.x

parents 856d7e33 ef3ffb73
...@@ -7,12 +7,19 @@ public class MarkdownRequest implements Serializable { ...@@ -7,12 +7,19 @@ public class MarkdownRequest implements Serializable {
private String text; private String text;
private boolean gfm; private boolean gfm;
private String project;
public MarkdownRequest(String text, boolean gfm) { public MarkdownRequest(String text, boolean gfm) {
this.text = text; this.text = text;
this.gfm = gfm; this.gfm = gfm;
} }
public MarkdownRequest(String text, boolean gfm, String project) {
this.text = text;
this.gfm = gfm;
this.project = project;
}
public String getText() { public String getText() {
return text; return text;
} }
...@@ -28,4 +35,12 @@ public class MarkdownRequest implements Serializable { ...@@ -28,4 +35,12 @@ public class MarkdownRequest implements Serializable {
public void setGfm(boolean gfm) { public void setGfm(boolean gfm) {
this.gfm = gfm; this.gfm = gfm;
} }
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project;
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment