From 0ac74140c3a9eacd831c9fd56ee3a830aaeaa245 Mon Sep 17 00:00:00 2001 From: CryptoCompiler <72892531+peepopoggers@users.noreply.github.com> Date: Fri, 22 Jan 2021 17:22:07 +0000 Subject: [PATCH] fixed public check function --- src/util/requestWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/requestWrapper.ts b/src/util/requestWrapper.ts index 76268e6..4a66bec 100644 --- a/src/util/requestWrapper.ts +++ b/src/util/requestWrapper.ts @@ -69,7 +69,7 @@ export default class RequestUtil { * @private Make a HTTP request to a specific endpoint. Private endpoints are automatically signed. */ async _call(method: Method, endpoint: string, params?: any): GenericAPIResponse { - const isPublicEndpoint = (endpoint: string): boolean { + const isPublicEndpoint = (endpoint: string): boolean => { if (endpoint.startsWith('v2/public')) { return true; }