use config value for pm path

This commit is contained in:
Robin Olsen
2026-03-10 13:44:59 +01:00
parent e4b6074303
commit 4c826193ee
6 changed files with 12 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ var SubmitCmd = &cobra.Command{
defer db.Close()
if err := db.SubmitSurveyResponsesCmd(cmd.Context()); err != nil {
if err := db.SubmitSurveyResponsesCmd(cmd.Context(), app.Config.AppDir); err != nil {
return fmt.Errorf("failed to submit survey responses: %w", err)
}