diff --git a/src/http.ts b/src/http.ts index 0bb497f1..02fc17d5 100644 --- a/src/http.ts +++ b/src/http.ts @@ -28,12 +28,12 @@ class Http { method, path, data, - host = undefined, + host, }: { method: HttpMethod; path: string; data?: any; - host?: string | undefined; + host?: string; }) { return new Promise((resolve, reject) => { const options = Config.get();