Skip to content

Commit

Permalink
fix: key
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Sep 22, 2023
1 parent c329165 commit f826fff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/ledger/internal/bus/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func newEventRevertedTransaction(tx RevertedTransaction) EventMessage {
type DeletedMetadata struct {
Ledger string `json:"ledger"`
TargetType string `json:"targetType"`
TargetID any `json:"targetID"`
TargetID any `json:"targetId"`
Key string `json:"key"`
}

Expand Down
4 changes: 2 additions & 2 deletions components/search/benthos/streams/ledger_ingestion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ input:

pipeline:
processors:
- log:
message: "receive message: ${! this }"
- switch_event_type:
events:
- label: COMMITTED_TRANSACTIONS
processors:
- log:
message: "receive message: ${! this }"
- bloblang: |
map account {
root = this.map_each(v -> v.value.map_each(v2 -> {
Expand Down

0 comments on commit f826fff

Please sign in to comment.