From 8e65fc217dd6d730317eef6b3bd9ad699b55e88b Mon Sep 17 00:00:00 2001 From: Iaroslav Gryshaiev Date: Thu, 2 Jan 2025 19:51:21 +0100 Subject: [PATCH] fix(user): ensure proper revoke method result --- .../managed-user-wallet/managed-user-wallet.service.ts | 2 +- .../stale-anonymous-users-cleaner.service.ts | 3 ++- package-lock.json | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/api/src/billing/services/managed-user-wallet/managed-user-wallet.service.ts b/apps/api/src/billing/services/managed-user-wallet/managed-user-wallet.service.ts index 76e10bffa..e1f8779df 100644 --- a/apps/api/src/billing/services/managed-user-wallet/managed-user-wallet.service.ts +++ b/apps/api/src/billing/services/managed-user-wallet/managed-user-wallet.service.ts @@ -130,7 +130,7 @@ export class ManagedUserWalletService { } if (!messages.length) { - return; + return revokeSummary; } if (!options?.dryRun) { diff --git a/apps/api/src/user/services/stale-anonymous-users-cleaner/stale-anonymous-users-cleaner.service.ts b/apps/api/src/user/services/stale-anonymous-users-cleaner/stale-anonymous-users-cleaner.service.ts index 1a7799d13..b8f858f62 100644 --- a/apps/api/src/user/services/stale-anonymous-users-cleaner/stale-anonymous-users-cleaner.service.ts +++ b/apps/api/src/user/services/stale-anonymous-users-cleaner/stale-anonymous-users-cleaner.service.ts @@ -62,8 +62,9 @@ export class StaleAnonymousUsersCleanerService { } summary.inc("usersDroppedCount", userIdsToRemove.length); } - this.logger.debug({ event: "STALE_ANONYMOUS_USERS_CLEANUP", userIds: userIdsToRemove, summary: summary.summarize(), dryRun: options.dryRun }); } ); + + this.logger.debug({ event: "STALE_ANONYMOUS_USERS_CLEANUP", summary: summary.summarize(), dryRun: options.dryRun }); } } diff --git a/package-lock.json b/package-lock.json index a990a32cf..df6a2ff00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ }, "apps/api": { "name": "@akashnetwork/console-api", - "version": "2.43.1", + "version": "2.44.0", "license": "Apache-2.0", "dependencies": { "@akashnetwork/akash-api": "^1.3.0", @@ -227,7 +227,7 @@ }, "apps/deploy-web": { "name": "@akashnetwork/console-web", - "version": "2.27.4", + "version": "2.27.10", "license": "Apache-2.0", "dependencies": { "@akashnetwork/akash-api": "^1.3.0", @@ -39304,7 +39304,7 @@ }, "packages/http-sdk": { "name": "@akashnetwork/http-sdk", - "version": "1.1.2", + "version": "1.1.3", "license": "Apache-2.0", "dependencies": { "axios": "^1.7.2",