mirror of
https://github.com/unraid/api.git
synced 2026-01-08 09:39:49 -06:00
fix: include fetch import
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user