remove unneeded appPackage route
This commit is contained in:
parent
4d4a1bc5b3
commit
3c1a3cc759
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue