Skip to content

Commit

Permalink
fix(): Use correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Jun 15, 2020
1 parent d7a1c6a commit e964f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func makeClient(cfg config.Config, cfgPath string) (*goinsta.Instagram, error) {
}

if cfg.StoreSession() {
if err := cl.Export(filepath.Join(cfgPath)); err != nil {
if err := cl.Export(sessFile); err != nil {
log.Errorf("save session: %v", err)
}
}
Expand Down

0 comments on commit e964f5b

Please sign in to comment.