From 0d5577a397a262091f18c239d71c680705c1dba5 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 6 May 2023 13:42:58 -0700 Subject: [PATCH] use the right key for the access token --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7b75cb3..20047f1 100644 --- a/main.go +++ b/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.SetAccessToken(config.Get("")) + client.SetAccessToken(config.Get("pnut_auth_token")) for _, item := range items { p := nomad.NewPost(item)