Skip to content

Commit

Permalink
fix: 修复添加数据库备份数据库名称未正确填充
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Feb 22, 2024
1 parent 89bd5d4 commit 639159f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http/controllers/cron_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (r *CronController) Add(ctx http.Context) http.Response {
cronType := ctx.Request().Input("type")
if cronType == "backup" {
backupType := ctx.Request().Input("backup_type")
backupName := ctx.Request().Input("backup_database")
backupName := ctx.Request().Input("database")
if backupType == "website" {
backupName = ctx.Request().Input("website")
}
Expand Down

0 comments on commit 639159f

Please sign in to comment.