fix app delete listener call (#356)

This commit is contained in:
Pedro Nasser
2016-11-29 13:05:43 -02:00
committed by C Cirello
parent 2236f556e4
commit 89a9ff3345

View File

@@ -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))