EDSM.request()
This commit is contained in:
parent
535d289e43
commit
2174496afb
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ import fetch from 'electron-fetch'
|
|||
import { Log } from './Log'
|
||||
|
||||
class EDSM {
|
||||
constructor() {}
|
||||
private constructor() {}
|
||||
|
||||
static async request(url: string, options: {[index: string]: string}): Promise<object|undefined> {
|
||||
static async request(url: string, options: {[x: string]: string}): Promise<object|undefined> {
|
||||
let data: object|undefined = undefined
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue