mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
[appdef] fixes: viewer route: keeps on reloading for private apps (#8051)
* fixes: viewer route: keeps on reloading for pribate apps * should return the response
This commit is contained in:
parent
e2c453e97c
commit
d0b9702369
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ function getAppBySlug(slug) {
|
|||
|
||||
function fetchAppBySlug(slug) {
|
||||
const requestOptions = { method: 'GET', headers: authHeader(), credentials: 'include' };
|
||||
return fetch(`${config.apiUrl}/v2/apps/slugs/${slug}`, requestOptions).then(handleResponse);
|
||||
return fetch(`${config.apiUrl}/v2/apps/slugs/${slug}`, requestOptions).then((resp) => handleResponse(resp, true));
|
||||
}
|
||||
|
||||
function getAppByVersion(appId, versionId) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue