use the right key for the access token
This commit is contained in:
parent
bd8a5619e6
commit
0d5577a397
2
main.go
2
main.go
|
@ -57,7 +57,7 @@ func fetchItems(db *nomad.DB, markOnly bool) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
client := woodstock.NewClient(config.Get("pnut_id"), config.Get("pnut_secret"))
|
client := woodstock.NewClient(config.Get("pnut_id"), config.Get("pnut_secret"))
|
||||||
client.SetAccessToken(config.Get(""))
|
client.SetAccessToken(config.Get("pnut_auth_token"))
|
||||||
|
|
||||||
for _, item := range items {
|
for _, item := range items {
|
||||||
p := nomad.NewPost(item)
|
p := nomad.NewPost(item)
|
||||||
|
|
Loading…
Reference in New Issue