fix(actions): replay watch dir and exec cmd (#1000)

fix(actions): replay watch dir and exec
This commit is contained in:
ze0s 2023-06-26 19:00:58 +02:00 committed by GitHub
parent 12f49b7b6c
commit bc823f98a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -353,6 +353,9 @@ func (r *ActionRepo) Get(ctx context.Context, req *domain.GetActionRequest) (*do
return nil, errors.Wrap(err, "error scanning row") return nil, errors.Wrap(err, "error scanning row")
} }
a.ExecCmd = execCmd.String
a.ExecArgs = execArgs.String
a.WatchFolder = watchFolder.String
a.Category = category.String a.Category = category.String
a.Tags = tags.String a.Tags = tags.String
a.Label = label.String a.Label = label.String