Compare commits

..

No commits in common. "af207d8a01a6dc5166811d4d7768b75a261ba15b" and "127def18b337a5b12986a9414426e3d5d3ca0965" have entirely different histories.

1 changed files with 5 additions and 5 deletions

View File

@ -191,7 +191,7 @@ function precheck(Message $message): bool
} }
foreach (array_keys($payload) as $key) { 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"); error("Unknown key: $key");
return false; return false;
} }