fix: use installation_id not app_id

This commit is contained in:
Derrick Hammer 2024-02-12 01:02:09 -05:00
parent 1c1f78559d
commit 41b25abaaf
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {