mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-31 20:12:29 +01:00
Added the TrackedTime model
This commit is contained in:
@ -13,6 +13,5 @@ function main(): PushEvent {
|
||||
|
||||
$data = json_decode((string) file_get_contents('php://input'));
|
||||
if (!is_object($data)) throw new UnexpectedValueException('Invalid payload data.');
|
||||
|
||||
return PushEvent::fromJson($data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user