1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

Fix app deletion not working

This commit is contained in:
Andrew Kingston 2021-05-19 18:45:43 +01:00
parent c911e67629
commit 7db2a63a67

View file

@ -98,8 +98,7 @@
if (!appToDelete) {
return
}
await del(`/api/applications/${appToDelete?._id}`)
await del(`/api/applications/${appToDelete?.appId}`)
await apps.load()
appToDelete = null
notifications.success("App deleted successfully.")