Skip to content

Commit

Permalink
chore: pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Sep 27, 2024
1 parent eac11dd commit d31b1b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/events/CommittedTransactions.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
"type": "array"
},
"Time": {
"properties": {},
"additionalProperties": false,
"type": "object"
"type": "string",
"format": "date-time",
"title": "Normalized date"
},
"Transaction": {
"properties": {
Expand Down
6 changes: 3 additions & 3 deletions docs/events/RevertedTransaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
]
},
"Time": {
"properties": {},
"additionalProperties": false,
"type": "object"
"type": "string",
"format": "date-time",
"title": "Normalized date"
},
"Transaction": {
"properties": {
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/formancehq/go-libs v1.7.2-0.20240927125534-5e1d89567352 h1:EeSb5i9bxQlB3aRV9IA/jxoeIjgnMJ0NdI8blWBercQ=
github.com/formancehq/go-libs v1.7.2-0.20240927125534-5e1d89567352/go.mod h1:ynmWBbsdhVyjE+MxneMErtgd/RnNAk892VuIhZE2fps=
github.com/formancehq/go-libs v1.7.2-0.20240927143916-90a2f07df259 h1:UNR167W1JQgqqcHyvE6qRc0oYYN68s6zdee2bjlxfDA=
github.com/formancehq/go-libs v1.7.2-0.20240927143916-90a2f07df259/go.mod h1:oLMVltNsXmvqLA0Ox5NSwVSeH8gbnG2ZUo6Lchp23XU=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
Expand Down
3 changes: 2 additions & 1 deletion internal/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
)

const (
// todo: add feature to completely disable logs
FeatureMovesHistory = "MOVES_HISTORY"
// todo: depends on FeatureMovesHistory (dependency should be checked)
FeatureMovesHistoryPostCommitEffectiveVolumes = "MOVES_HISTORY_POST_COMMIT_EFFECTIVE_VOLUMES"
Expand Down Expand Up @@ -163,4 +164,4 @@ func MustNewWithDefault(name string) Ledger {
panic(err)
}
return *ledger
}
}

0 comments on commit d31b1b4

Please sign in to comment.