1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

Fix bug with changing app name

This commit is contained in:
Andrew Kingston 2020-12-15 13:40:49 +00:00
parent 0c93c17292
commit c54ea7294b

View file

@ -4,7 +4,7 @@
import api from "builderStore/api"
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()
store.update(state => {
state = {