Skip to content

Commit ff8357e

Browse files
author
Artem
committed
invalidate capi keys for /plans endpoint
1 parent 1eb900e commit ff8357e

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)