Skip to content

Commit

Permalink
fix createTask
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacarpet committed Feb 27, 2025
1 parent a858935 commit 3bf094b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use AffordableMobiles\GServerlessSupportLaravel\Integration\Datastore\DatastoreFactory;
use Google\Cloud\Core\ExponentialBackoff;
use Google\Cloud\Tasks\V2\CreateTaskRequest;
use Google\Cloud\Tasks\V2\Task;

class PushQueue
Expand Down Expand Up @@ -48,8 +49,7 @@ public function addTasks($tasks)
Client::instance()->getClient(),
'createTask',
], [
$this->full_name,
$task,
CreateTaskRequest::build($this->full_name, $task),
]);

$tdetails = PushTask::parseTaskName($tresult);
Expand Down

0 comments on commit 3bf094b

Please sign in to comment.