mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
fix: use correct constant
This commit is contained in:
parent
734d2ce512
commit
421ec6f3f8
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class Create extends Base
|
|||
$schedule = Authorization::skip(
|
||||
fn () => $dbForPlatform->createDocument('schedules', new Document([
|
||||
'region' => $project->getAttribute('region'),
|
||||
'resourceType' => RESOURCE_TYPE_FUNCTIONS,
|
||||
'resourceType' => SCHEDULE_RESOURCE_TYPE_FUNCTION,
|
||||
'resourceId' => $function->getId(),
|
||||
'resourceInternalId' => $function->getSequence(),
|
||||
'resourceUpdatedAt' => DateTime::now(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue