If dump does no write to file, output the result as log

This commit is contained in:
Philipp Wolfer 2025-05-24 20:54:20 +02:00
parent 312d9860cf
commit 4da5697435
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
10 changed files with 29 additions and 15 deletions

View file

@ -61,8 +61,10 @@ func (b *MalojaApiBackend) InitConfig(config *config.ServiceConfig) error {
return nil
}
func (b *MalojaApiBackend) StartImport() error { return nil }
func (b *MalojaApiBackend) FinishImport() error { return nil }
func (b *MalojaApiBackend) StartImport() error { return nil }
func (b *MalojaApiBackend) FinishImport(result *models.ImportResult) error {
return nil
}
func (b *MalojaApiBackend) ExportListens(ctx context.Context, oldestTimestamp time.Time, results chan models.ListensResult, progress chan models.TransferProgress) {
page := 0