fix: remove custom command from setAlarm to prevent command injection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user