Commit af69016d authored by Ikram Haq's avatar Ikram Haq
Browse files

Fix minor issue to get the vars from the request

parent d6b12736
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -887,7 +887,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {

	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	vars := mux.Vars(r)
	appId := vars["appInstanceId"]
	appId := vars["subscriberId"]

	mutex.Lock()
	defer mutex.Unlock()