From 2174496afb29e2f68f5ccf48e174b82ea4cb7e21 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Thu, 11 May 2023 23:57:34 -0700 Subject: [PATCH] EDSM.request() --- src/models/EDSM.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/EDSM.ts b/src/models/EDSM.ts index 6047261..5008e55 100644 --- a/src/models/EDSM.ts +++ b/src/models/EDSM.ts @@ -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 { + static async request(url: string, options: {[x: string]: string}): Promise { let data: object|undefined = undefined try {