Skip to content

Commit

Permalink
Null check on extension webhook properties
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnab93 committed Feb 23, 2022
1 parent 5c87cd0 commit 3336c52
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public ResponseEntity<?> authorize(@RequestParam(value = "company_id") String co
ExtensionContext.set("company_id", companyId);
ExtensionContext.set("application_id", applicationId);
if (Objects.nonNull(ext.getWebhookService()) &&
Objects.nonNull(ext.getExtensionProperties().getWebhook()) &&
Objects.nonNull(ext.getExtensionProperties()
.getWebhook()
.getSubscribe_on_install()) &&
Expand Down

0 comments on commit 3336c52

Please sign in to comment.