Skip to content

Commit

Permalink
Merge pull request #131 from lilaboc/fix-127
Browse files Browse the repository at this point in the history
Fix #127
  • Loading branch information
Bindambc authored Jan 26, 2024
2 parents 8211b24 + 1e00dbb commit 66e610e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/whatsapp/api/domain/webhook/WebHook.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.whatsapp.api.domain.webhook;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;

/**
* The type Webhook.
* Use this class to deserialize webhook events
*/
public final class WebHook {
private static final ObjectMapper mapper = new ObjectMapper();
private static final ObjectMapper mapper = new ObjectMapper().configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);

/**
* Construct WebHookEvent object
Expand Down

0 comments on commit 66e610e

Please sign in to comment.