Skip to content

Commit 9b58604

Browse files
anacoelhovicentebirkir
authored andcommitted
fix: add isomorphic-fetch to webhook (#323)
1 parent 7c1aa1d commit 9b58604

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/prime-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"graphql-iso-date": "3.6.1",
6363
"graphql-type-json": "^0.2.1",
6464
"hashids": "1.2.2",
65+
"isomorphic-fetch": "^2.1.1",
6566
"latest": "0.2.0",
6667
"lodash": "^4.17.11",
6768
"mailgun-js": "0.22.0",

packages/prime-core/src/utils/processWebhooks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import fetch from 'isomorphic-fetch';
12
import { getRepository } from 'typeorm';
23
import { Webhook } from '../entities/Webhook';
34
import { WebhookCall } from '../entities/WebhookCall';

0 commit comments

Comments
 (0)