Fix bug with changing app name
This commit is contained in:
parent
0c93c17292
commit
c54ea7294b
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue