Compare commits
2 Commits
127def18b3
...
af207d8a01
Author | SHA1 | Date |
---|---|---|
Dirk Heilig | af207d8a01 | |
Dirk Heilig | c011f62af5 |
|
@ -191,7 +191,7 @@ function precheck(Message $message): bool
|
|||
}
|
||||
|
||||
foreach (array_keys($payload) as $key) {
|
||||
if (!in_array($key, ["name", "value", "labels","valid_until"])) {
|
||||
if (!in_array($key, ["name", "value", "labels", "valid_seconds"])) {
|
||||
error("Unknown key: $key");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue