1
0
Fork 0
mirror of synced 2024-06-30 12:10:51 +12:00

Merge pull request #6988 from appwrite/fix-functions-worker

Fix missing body in async function execution
This commit is contained in:
Christy Jacob 2023-10-23 23:40:58 +04:00 committed by GitHub
commit ce8c7e1527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ class Functions extends Action
$type = $payload['type'] ?? '';
$events = $payload['events'] ?? [];
$data = $payload['data'] ?? '';
$data = $payload['body'] ?? '';
$eventData = $payload['payload'] ?? '';
$project = new Document($payload['project'] ?? []);
$function = new Document($payload['function'] ?? []);