add status boolean parameter to push monitor

This commit is contained in:
Jakub Blažej 2021-12-25 20:25:21 +01:00
parent 0ca68f791f
commit 3d002b3ce9
2 changed files with 5 additions and 4 deletions

View file

@ -53,7 +53,7 @@
<CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" />
<div class="form-text">
{{ $t("needPushEvery", [monitor.interval]) }}<br />
{{ $t("pushOptionalParams", ["msg, ping"]) }}
{{ $t("pushOptionalParams", ["status, msg, ping"]) }}
</div>
</div>
@ -349,7 +349,7 @@ export default {
},
pushURL() {
return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?msg=OK&ping=";
return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?status=true&msg=OK&ping=";
},
bodyPlaceholder() {