diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php index 507437a04a..8f3767bb9e 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php @@ -313,7 +313,7 @@ class Create extends Base 'region' => $project->getAttribute('region'), 'resourceType' => ScheduleExecutions::getSupportedResource(), 'resourceId' => $execution->getId(), - 'resourceInternalId' => $execution->getSequence() ?? '', // resourceInternalId is required and may be empty + 'resourceInternalId' => $execution->getSequence() ?? '', // resourceInternalId is required and always empty 'resourceUpdatedAt' => DateTime::now(), 'projectId' => $project->getId(), 'schedule' => $scheduledAt, diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index e4f997a408..8984ff8849 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -89,7 +89,7 @@ class Audits extends Action // Create event data $eventData = [ - 'userId' => $user->getSequence() ?? '', // userId is required in Audit + 'userId' => $user->getSequence() ?? '', // userId is required 'event' => $event, 'resource' => $resource, 'userAgent' => $userAgent,