From: Paul Spooren Date: Sun, 5 Apr 2020 21:42:36 +0000 (-1000) Subject: fixup: rename version_commit to version_code X-Git-Tag: v2.2.0~5 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e780424416780ad1846e17224cdc6df38567e9e;p=web%2Ffirmware-selector-openwrt-org.git fixup: rename version_commit to version_code Since OpenWrt upstream 07449f692c the variable is called `version_code` instead of `version_commit` as it is really not only a commit but a combination of *number of commits* and commit hash. Signed-off-by: Paul Spooren --- diff --git a/index.js b/index.js index b652815..cdd4d6f 100644 --- a/index.js +++ b/index.js @@ -82,7 +82,7 @@ function build_asa_request() { var download_url = config.asu_url + '/store/' + mobj.bin_dir; updateImages( mobj.version_number, - mobj.version_commit, + mobj.version_code, mobj.build_at, get_model_titles(mobj.titles), download_url, mobj, true