kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
2 changed files with
2 additions and
2 deletions
-
packages/builder/src/components/settings/tabs/General.svelte
-
packages/server/src/api/routes/application.js
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
import Title from "../TabTitle.svelte" |
|
|
|
|
|
|
|
async function updateApplication(data) { |
|
|
|
const response = await api.put(`/api/${$store.appId}/appPackage`, data) |
|
|
|
const response = await api.put(`/api/${$store.appId}`, data) |
|
|
|
const app = await response.json() |
|
|
|
store.update(state => { |
|
|
|
state = { |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ router |
|
|
|
authorized(BUILDER), |
|
|
|
controller.fetchAppPackage |
|
|
|
) |
|
|
|
.put("/api/:applicationId/appPackage", authorized(BUILDER), controller.update) |
|
|
|
.put("/api/:applicationId", authorized(BUILDER), controller.update) |
|
|
|
.post("/api/applications", authorized(BUILDER), controller.create) |
|
|
|
|
|
|
|
module.exports = router |
|
|
|
|