1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Remove $ from projectId attribute

This commit is contained in:
kodumbeats 2021-07-16 09:49:54 -04:00
parent f749256e03
commit c04e2ba924
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class TasksV1 extends Worker
$db = $register->get('db');
$cache = $register->get('cache');
$projectId = $this->args['$projectId'] ?? null;
$projectId = $this->args['projectId'] ?? null;
$taskId = $this->args['$id'] ?? null;
$updated = $this->args['updated'] ?? null;
$next = $this->args['next'] ?? null;

View file

@ -21,7 +21,7 @@ class Task extends Model
'default' => '',
'example' => '5e5ea5c16897e',
])
->addRule('$projectId', [
->addRule('projectId', [
'type' => self::TYPE_STRING,
'description' => 'Project ID.',
'default' => '',