From c06299878b1402b097d378761a2d70be396b370d Mon Sep 17 00:00:00 2001 From: helgeerbe Date: Wed, 9 Aug 2023 15:59:11 +0200 Subject: [PATCH] compare git hash to branch --- webapp/src/views/SystemInfoView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/views/SystemInfoView.vue b/webapp/src/views/SystemInfoView.vue index ba36ec36..15b02af0 100644 --- a/webapp/src/views/SystemInfoView.vue +++ b/webapp/src/views/SystemInfoView.vue @@ -61,7 +61,7 @@ export default defineComponent({ } const fetchUrl = "https://api.github.com/repos/helgeerbe/OpenDTU-OnBattery/compare/" - + this.systemDataList.git_hash + "...HEAD"; + + this.systemDataList.git_hash + "..." + this.systemDataList.git_branch; fetch(fetchUrl) .then((response) => {