From 0e780424416780ad1846e17224cdc6df38567e9e Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Sun, 5 Apr 2020 11:42:36 -1000 Subject: [PATCH] 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 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2