Skip to content

Commit ffd95cf

Browse files
committed
Correct imports in README
1 parent 5fdce02 commit ffd95cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@ const client = new Client({
300300
Parse an AccountHolderNotificationRequest webhook;
301301
``` typescript
302302
// import models
303-
import { Types } from "@adyen/api-library";
304-
const { ConfigurationWebhooksHandler } = require('@adyen/api-library/lib/src/typings/configurationWebhooks/configurationWebhooksHandler');
303+
import { Types, ConfigurationWebhooksHandler } from "@adyen/api-library";
305304

306305
const configurationWebhooksHandler = new ConfigurationWebhooksHandler(YOUR_BANKING_WEBHOOK);
307306
const accountHolderNotificationRequest: Types.configurationWebhooks.AccountHolderNotificationRequest = configurationWebhooksHandler.getAccountHolderNotificationRequest();

0 commit comments

Comments
 (0)