mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fix app delete listener call (#356)
This commit is contained in:
@@ -28,7 +28,7 @@ func handleAppDelete(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
err = Api.FireAfterAppDelete(ctx, appName)
|
||||
err = Api.FireBeforeAppDelete(ctx, appName)
|
||||
if err != nil {
|
||||
log.WithError(err).Errorln(models.ErrAppsRemoving)
|
||||
c.JSON(http.StatusInternalServerError, simpleError(err))
|
||||
|
||||
Reference in New Issue
Block a user