implement app run

This commit is contained in:
shoopea
2025-10-19 13:55:52 +02:00
parent 6ae863b60c
commit ace13b68a8
3 changed files with 46 additions and 14 deletions

9
api.go
View File

@@ -25,11 +25,12 @@ func ApiRunApp(c *gin.Context) {
"message": "done",
})
}
} else {
c.JSON(http.StatusInternalServerError, gin.H{
"message": "error",
"error": "no app found",
})
}
c.JSON(http.StatusInternalServerError, gin.H{
"message": "error",
"error": "no app found",
})
}
func ApiSave(c *gin.Context) {