Skip to content

Commit

Permalink
fix jsonb in cli sync
Browse files Browse the repository at this point in the history
  • Loading branch information
alishakawaguchi committed Nov 18, 2024
1 parent 7c27eed commit f0df91d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/internal/cmds/neosync/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func newCliSyncFromCmd(
return nil, err
}
cmd.SilenceUsage = true
logger = logger.With("accountId", cmdCfg.AccountId)
logger = logger.With("accountId", *cmdCfg.AccountId)

logger.Info("Starting sync")

Expand Down
2 changes: 1 addition & 1 deletion worker/pkg/benthos/sql/json_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (p *jsonToSqlProcessor) transform(path string, root any) any {
return v
}
return bit
case "json":
case "json", "jsonb":
validJson, err := getValidJson(v)
if err != nil {
p.logger.Errorf("unable to get valid json: %w", err)
Expand Down

0 comments on commit f0df91d

Please sign in to comment.