Skip to content

Commit c66018b

Browse files
author
FalkWolsky
committed
Fixing timing issue
1 parent dd3e9db commit c66018b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

client/packages/lowcoder/src/api/subscriptionApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class SubscriptionApi extends Api {
5151
const source = axios.CancelToken.source();
5252
const timeoutId = setTimeout(() => {
5353
source.cancel("Request timed out.");
54-
}, 5000);
54+
}, 6000);
5555

5656
// Request configuration with cancel token
5757
const requestConfig: AxiosRequestConfig = {

client/packages/lowcoder/src/pages/ApplicationV2/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export default function ApplicationHome() {
310310
],
311311
} : { items: [] },
312312

313-
supportSubscription ? {
313+
supportSubscription && user.orgDev ? {
314314
items: [
315315
{
316316
text: <TabLabel>{trans("home.support")}</TabLabel>,

client/packages/lowcoder/src/redux/sagas/subscriptionSagas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ function* fetchSubscriptionsSaga(action: ReturnType<typeof fetchSubscriptionsAct
1414
const currentUser: CurrentUser = yield select(getCurrentUser);
1515
const orgID = user.currentOrgId;
1616
const domain = `${window.location.protocol}//${window.location.hostname}${window.location.port ? `:${window.location.port}` : ''}`;
17-
const hostIdenticator: string = yield select(getDeploymentId);
17+
const deploymentId: string = yield select(getDeploymentId);
1818

1919
const subscriptionSearchCustomer: LowcoderSearchCustomer = {
2020
hostname: domain,
21-
hostId: hostIdenticator,
21+
hostId: deploymentId,
2222
email: currentUser.email,
2323
orgId: orgID,
2424
userId: user.id,

0 commit comments

Comments
 (0)