fix: include fetch import

This commit is contained in:
Alexis Tyler
2020-10-04 13:57:15 +10:30
parent a856f014d4
commit a7d7b2aba9

View File

@@ -1,6 +1,7 @@
import * as Sentry from '@sentry/node';
import { MOTHERSHIP_GRAPHQL_LINK } from './consts';
import { CachedServer } from './cache';
import fetch from 'cross-fetch';
export const getServers = (apiKey: string) => fetch(MOTHERSHIP_GRAPHQL_LINK, {
method: 'POST',