We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 795929b + e10a3dc commit 46b4055Copy full SHA for 46b4055
entrypoint.js
@@ -75,7 +75,7 @@ async function validateSubscription() {
75
try {
76
await axios.get(API_URL, { timeout: 3000 });
77
} catch (error) {
78
- if (error.isAxiosError && error.response) {
+ if (error.response && error.response.status === 403) {
79
console.error(
80
"Subscription is not valid. Reach out to support@stepsecurity.io"
81
);
0 commit comments