Browse Source
Merge pull request #923 from Budibase/fix-change-app-name
Fix bug with changing app name
gh-pages
Martin McKeaveney
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/builder/src/components/settings/tabs/General.svelte
|
|
@ -4,7 +4,7 @@ |
|
|
import api from "builderStore/api" |
|
|
import api from "builderStore/api" |
|
|
|
|
|
|
|
|
async function updateApplication(data) { |
|
|
async function updateApplication(data) { |
|
|
const response = await api.put(`/api/${$store.appId}`, data) |
|
|
const response = await api.put(`/api/applications/${$store.appId}`, data) |
|
|
const app = await response.json() |
|
|
const app = await response.json() |
|
|
store.update(state => { |
|
|
store.update(state => { |
|
|
state = { |
|
|
state = { |
|
|
|