compare git hash to branch

This commit is contained in:
helgeerbe 2023-08-09 15:59:11 +02:00
parent 940d1a6145
commit c06299878b

View File

@ -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) => {