Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunnaye committed Jul 15, 2024
1 parent 20645ab commit 059f3b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +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().substring(1, body.toString().length() - 1); //removes the quotes that gets added with the toString method
String bodyString = body.toString(); //removes the quotes that gets added with the toString method
System.out.println(bodyString);
if ("installation_repositories".equals(jsonObject.get("eventType").getAsString())) {
InstallationRepositoriesPayload payload = getGitHubInstallationRepositoriesPayloadByKey(bodyString, key);
Expand Down

0 comments on commit 059f3b7

Please sign in to comment.