Skip to content

Commit

Permalink
rename ig cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
nonotest committed Nov 25, 2018
1 parent 375b174 commit 3a7a8d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
token.json
credentials.json
.env
ig-cookie
.ig-cookie
2 changes: 1 addition & 1 deletion source/instagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Instagram struct {

// NewInstagram returns a struct with initialised instagram api.
func NewInstagram(env map[string]string, conf Conf) (*Instagram, error) {
insta, err := goinsta.Import("ig-cookie")
insta, err := goinsta.Import(env["IG_COOKIE_PATH"])
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 3a7a8d6

Please sign in to comment.