From 80b4028ec73c731cedcff935e804dd65e3b728e0 Mon Sep 17 00:00:00 2001 From: monoid Date: Thu, 10 Apr 2025 21:37:26 +0900 Subject: [PATCH] fix: type error --- app.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app.ts b/app.ts index 4ca9d3e..1129338 100644 --- a/app.ts +++ b/app.ts @@ -162,10 +162,8 @@ async function main() { return; } - const success = await oauth2Api.deleteOauth2Application(appId); - if (success) { - console.log("OAuth2 application deleted successfully!"); - } + await oauth2Api.deleteOauth2Application(appId); + console.log("OAuth2 application deleted successfully!"); }) .command("update", "Update OAuth2 application") .action(async () => {