mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-22 19:24:21 -05:00
* fix: client id cache issue * chore: fix originurl --------- Co-authored-by: a-m-dev <a.mirzaei.dev@gmail.com>
10 lines
271 B
JavaScript
10 lines
271 B
JavaScript
export const checkIfAuthorized = async () => {
|
|
const { isAuthorized } = await (await fetch('/auth/isAuthorized')).json();
|
|
return { isAuthorized };
|
|
};
|
|
|
|
export const getAppList = async () => {
|
|
const apps = await (await fetch(`/apps`)).json();
|
|
return apps || [];
|
|
};
|