fix: remove custom command from setAlarm to prevent command injection

This commit is contained in:
2026-06-18 15:23:14 +02:00
parent 75b56e2f1e
commit 124a6a4916
3 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -78,7 +78,6 @@ query {
```
**Set an alarm:**
*(Note: `command` is optional. If omitted, the API will automatically figure out the correct command to start `wecker.py`)*
```graphql
mutation {
setAlarm(
@@ -91,6 +90,7 @@ mutation {
}
}
```
*(Note: The `command` is managed automatically by the API and cannot be overridden, to prevent command injection into the system crontab.)*
**Delete an alarm:**
```graphql