From bc823f98a4c2cef9de0f04fae6de561d49f9fb0a Mon Sep 17 00:00:00 2001 From: ze0s <43699394+zze0s@users.noreply.github.com> Date: Mon, 26 Jun 2023 19:00:58 +0200 Subject: [PATCH] fix(actions): replay watch dir and exec cmd (#1000) fix(actions): replay watch dir and exec --- internal/database/action.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/database/action.go b/internal/database/action.go index c1590c8..4595907 100644 --- a/internal/database/action.go +++ b/internal/database/action.go @@ -353,6 +353,9 @@ func (r *ActionRepo) Get(ctx context.Context, req *domain.GetActionRequest) (*do 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.Tags = tags.String a.Label = label.String