Skip to content

Commit

Permalink
remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunnaye committed Jul 15, 2024
1 parent 059f3b7 commit 4696bb5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ private void submitGitHubDeliveryEventsByKey(String key, WorkflowsApi workflowsA
String obj = getObject(key);
JsonObject jsonObject = GSON.fromJson(obj, JsonObject.class);
JsonObject body = jsonObject.get("body").getAsJsonObject();
String bodyString = body.toString(); //removes the quotes that gets added with the toString method
System.out.println(bodyString);
String bodyString = body.toString();
if ("installation_repositories".equals(jsonObject.get("eventType").getAsString())) {
InstallationRepositoriesPayload payload = getGitHubInstallationRepositoriesPayloadByKey(bodyString, key);
if (payload != null) {
Expand Down

0 comments on commit 4696bb5

Please sign in to comment.