Skip to content

Commit

Permalink
Update gamification-github-services/src/main/java/org/exoplatform/gam…
Browse files Browse the repository at this point in the history
…ification/github/services/impl/WebhookServiceImpl.java
  • Loading branch information
boubaker authored Aug 10, 2023
1 parent 26ad815 commit 5d83ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void createWebhook(String organizationName, String accessToken, String cu
JSONObject config = new JSONObject();
JSONObject hook = new JSONObject();
String url = GITHUB_API_URL + organizationName + "/hooks";
config.put("url", "https://f838-2a01-cb05-890f-e600-b457-b8d2-3605-6d2c.ngrok-free.app" + "/portal/rest/gamification/connectors/github/webhooks");
config.put("url", CommonsUtils.getCurrentDomain() + "/portal/rest/gamification/connectors/github/webhooks");
config.put("content_type", "json");
config.put("insecure_ssl", "0");
config.put("secret", secret);
Expand Down

0 comments on commit 5d83ade

Please sign in to comment.