Ready to request profiles

This commit is contained in:
Luis Fernando Molina committed 2021-09-09 11:45:07 +02:00
1 parent a9cf324199
commit 303c8a9920
9 files changed
+86 -76

No files matched your search

+10 -1
View File
@@ -10,7 +10,16 @@ function newWebAppPostLoader() {
function start() {
try {
setupProjectsSchema()
setupEnvironment()
function setupEnvironment() {
httpRequest(undefined, 'Environment', onResponse)
function onResponse(err, file) {
ENVIRONMENT = JSON.parse(file)
setupProjectsSchema()
}
}
function setupProjectsSchema() {
httpRequest(undefined, 'ProjectsSchema', onResponse)