mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
license limit modal
This commit is contained in:
@@ -266,9 +266,9 @@ async function callCloudApiPost(endpoint, body, signinHolder = null) {
|
||||
},
|
||||
validateStatus: status => status < 500,
|
||||
});
|
||||
const { errorMessage } = resp.data;
|
||||
const { errorMessage, isLicenseLimit } = resp.data;
|
||||
if (errorMessage) {
|
||||
return { apiErrorMessage: errorMessage };
|
||||
return { apiErrorMessage: errorMessage, apiErrorIsLicenseLimit: isLicenseLimit };
|
||||
}
|
||||
return resp.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user