use the right key for the access token

This commit is contained in:
Kyle Isom 2023-05-06 13:42:58 -07:00
parent bd8a5619e6
commit 0d5577a397
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func fetchItems(db *nomad.DB, markOnly bool) error {
}
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 {
p := nomad.NewPost(item)