From 867e25e91ae017f2ae035ee2b5fa8a84871fe08b Mon Sep 17 00:00:00 2001 From: H01001000 Date: Thu, 1 Dec 2022 13:32:33 +0800 Subject: [PATCH] fix: types --- packages/rest/src/processRequest.ts | 2 +- packages/rest/src/runMethod.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/rest/src/processRequest.ts b/packages/rest/src/processRequest.ts index 6e88bd880..dca972f6e 100644 --- a/packages/rest/src/processRequest.ts +++ b/packages/rest/src/processRequest.ts @@ -1,4 +1,4 @@ -import { BASE_URL } from '../util/constants.js' +import { BASE_URL } from '@discordeno/utils' import { createQueueBucket } from './createQueueBucket.js' import { RestPayload, RestRequest } from './rest.js' import { RestManager } from './restManager.js' diff --git a/packages/rest/src/runMethod.ts b/packages/rest/src/runMethod.ts index 99f9a8b03..e4d19ee75 100644 --- a/packages/rest/src/runMethod.ts +++ b/packages/rest/src/runMethod.ts @@ -23,7 +23,6 @@ export async function runMethod ( ) const errorStack = new Error('Location:') - // @ts-expect-error Breaks deno deploy. Luca said add ts-ignore until it's fixed Error.captureStackTrace(errorStack) // For proxies we don't need to do any of the legwork so we just forward the request