Skip to content

Commit 50108ef

Browse files
gbhat618jglick
andauthored
Update src/main/java/org/jenkinsci/plugins/github/admin/GitHubDuplicateEventsMonitor.java
Co-authored-by: Jesse Glick <[email protected]>
1 parent 82c5ab6 commit 50108ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/github/admin/GitHubDuplicateEventsMonitor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public HttpResponse doGetLastDuplicatePayload() {
8686

8787
@VisibleForTesting
8888
static JSONObject getLastDuplicateNoEventPayload() {
89-
return JSONObject.fromObject("{\"payload\": \"No duplicate events seen yet.\"}");
89+
return new JSONObject().accumulate("payload", "No duplicate events seen yet");
9090
}
9191

9292
/**

0 commit comments

Comments
 (0)