mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-25 06:22:24 +02:00
Fix bug where hishtory import wouldn't upload entries and thus those entries would be forever on the local device only
This commit is contained in:
parent
9bfd4bf173
commit
20af97c2d2
@ -442,6 +442,10 @@ func ImportHistory(ctx *context.Context) (int, error) {
|
|||||||
return 0, fmt.Errorf("failed to insert imported history entry: %v", err)
|
return 0, fmt.Errorf("failed to insert imported history entry: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
err = Reupload(ctx)
|
||||||
|
if err != nil {
|
||||||
|
return 0, fmt.Errorf("failed to upload hishtory import: %v", err)
|
||||||
|
}
|
||||||
config.HaveCompletedInitialImport = true
|
config.HaveCompletedInitialImport = true
|
||||||
err = hctx.SetConfig(config)
|
err = hctx.SetConfig(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user