@ -62,6 +62,7 @@
if (urlIdx !== -1) {
existingAppUrls.splice(urlIdx, 1)
}
console.log(existingAppUrls)
nameValidation = {
name: string()
.required(nameError)
@ -100,5 +100,11 @@ exports.getDeployedApps = async () => {
"x-budibase-auth": hostingKey,
},
})
return response.json()
const json = await response.json()
for (let value of Object.values(json)) {
if (value.url) {
value.url = value.url.toLowerCase()
return json