Skip to content

Commit

Permalink
feat: add sync_declined_events field to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Huck committed Aug 12, 2023
1 parent 7a547e4 commit cf05cca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions example.sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sync:
end:
identifier: MonthEnd # last day of the current month
offset: +1 # MonthEnd +1 month (end of next month)
sync_declined_events: false

auth:
storage_mode: yaml
Expand Down
5 changes: 3 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ type Transformer struct {

// Sync configuration
type Sync struct {
StartTime SyncTime `yaml:"start"`
EndTime SyncTime `yaml:"end"`
StartTime SyncTime `yaml:"start"`
EndTime SyncTime `yaml:"end"`
SyncDeclinedEvents bool `yaml:"sync_declined_events"`
}

type SyncTime struct {
Expand Down

0 comments on commit cf05cca

Please sign in to comment.