From 77b276b3da0b0f9c8101f70d7c7ec782c2ae74a4 Mon Sep 17 00:00:00 2001 From: ITOH Date: Mon, 15 Nov 2021 15:01:10 +0100 Subject: [PATCH] change(getApplicationInfo): returns Application with flags --- src/helpers/oauth/getApplicationInfo.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/helpers/oauth/getApplicationInfo.ts b/src/helpers/oauth/getApplicationInfo.ts index ca11b3c32..b57c4d62b 100644 --- a/src/helpers/oauth/getApplicationInfo.ts +++ b/src/helpers/oauth/getApplicationInfo.ts @@ -4,9 +4,5 @@ import { SnakeCasedPropertiesDeep } from "../../types/util.ts"; /** Get the applications info */ export async function getApplicationInfo(bot: Bot) { - return await bot.rest.runMethod>( - bot.rest, - "get", - bot.constants.endpoints.OAUTH2_APPLICATION - ); + return await bot.rest.runMethod(bot.rest, "get", bot.constants.endpoints.OAUTH2_APPLICATION); }