Compare commits
No commits in common. "af207d8a01a6dc5166811d4d7768b75a261ba15b" and "127def18b337a5b12986a9414426e3d5d3ca0965" have entirely different histories.
af207d8a01
...
127def18b3
|
@ -191,7 +191,7 @@ function precheck(Message $message): bool
|
|||
}
|
||||
|
||||
foreach (array_keys($payload) as $key) {
|
||||
if (!in_array($key, ["name", "value", "labels", "valid_seconds"])) {
|
||||
if (!in_array($key, ["name", "value", "labels","valid_until"])) {
|
||||
error("Unknown key: $key");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue