Skip to content

Commit 58bd665

Browse files
author
arthosofteq
authored
Merge pull request #2450 from RedisInsight/be/bugfix/RI-4839-get-plans-with-invalid-encryption
invalidate capi keys for /plans endpoint
2 parents 1eb900e + ff8357e commit 58bd665

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redisinsight/api/src/modules/cloud/subscription/cloud-subscription.api.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export class CloudSubscriptionApiService {
5252
details: find(regions, { regionId: plan.regionId }),
5353
}));
5454
} catch (e) {
55-
// todo: error
56-
throw wrapHttpError(e);
55+
throw wrapHttpError(await this.cloudCapiKeyService.handleCapiKeyUnauthorizedError(e, sessionMetadata));
5756
}
5857
}
5958

0 commit comments

Comments
 (0)