From 41b25abaaff0827c1baf1504f971a76368d9843f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 12 Feb 2024 01:02:09 -0500 Subject: [PATCH] fix: use installation_id not app_id --- api/routes_app_installations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routes_app_installations.go b/api/routes_app_installations.go index 30c037c..f76d7c2 100644 --- a/api/routes_app_installations.go +++ b/api/routes_app_installations.go @@ -30,7 +30,7 @@ func (a *appInstallApi) handlerAppGetAccessToken(w http.ResponseWriter, r *http. now := time.Now().Add(-30 * time.Second) expirationTime := now.Add(10 * time.Minute) - appId := mux.Vars(r)["app_id"] + appId := mux.Vars(r)["installation_id"] appIdInt, err := strconv.ParseInt(appId, 10, 64) if err != nil {