You've already forked monobank-firefly3-bot
Add auto-detection of transaction direction
All checks were successful
build docker image / docker-build (push) Successful in 1m6s
All checks were successful
build docker image / docker-build (push) Successful in 1m6s
For "description" only provided entries, auto detection doesn't work. As it searches if Source or Destenation is a monobank account by it's name
This commit is contained in:
@@ -21,9 +21,9 @@ type TransactionTypes struct {
|
||||
}
|
||||
|
||||
type TransactionTypeFirefly3 struct {
|
||||
Type string `json:"type,omitempty"`
|
||||
Destination string `json:"destination,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Category string `json:"category,omitempty"`
|
||||
IsUseDestinationAsSource bool `json:"is_use_destination_as_source,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Source string `json:"source,omitempty"`
|
||||
Destination string `json:"destination,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Category string `json:"category,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user