fix: use installation_id not app_id
This commit is contained in:
parent
1c1f78559d
commit
41b25abaaf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue